Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Bit field ordering on Big-Endian (SPARC) processor Pin
Peter_in_278011-Dec-12 10:50
professionalPeter_in_278011-Dec-12 10:50 
GeneralRe: Bit field ordering on Big-Endian (SPARC) processor Pin
Holmes.Sherlock11-Dec-12 12:27
Holmes.Sherlock11-Dec-12 12:27 
GeneralRe: Bit field ordering on Big-Endian (SPARC) processor Pin
Peter_in_278011-Dec-12 12:46
professionalPeter_in_278011-Dec-12 12:46 
GeneralRe: Bit field ordering on Big-Endian (SPARC) processor Pin
Holmes.Sherlock11-Dec-12 12:48
Holmes.Sherlock11-Dec-12 12:48 
QuestionThread Pin
messages11-Dec-12 1:25
messages11-Dec-12 1:25 
AnswerRe: Thread Pin
manoranjan11-Dec-12 1:56
manoranjan11-Dec-12 1:56 
GeneralRe: Thread Pin
messages11-Dec-12 2:10
messages11-Dec-12 2:10 
QuestionRe: Thread Pin
David Crow11-Dec-12 2:33
David Crow11-Dec-12 2:33 
AnswerRe: Thread Pin
messages11-Dec-12 4:17
messages11-Dec-12 4:17 
GeneralRe: Thread Pin
David Crow11-Dec-12 4:55
David Crow11-Dec-12 4:55 
GeneralRe: Thread Pin
messages11-Dec-12 5:25
messages11-Dec-12 5:25 
QuestionCMFCPropertyGridProperty - Protected methods don't get called Pin
Simon Langdon10-Dec-12 1:08
Simon Langdon10-Dec-12 1:08 
AnswerRe: CMFCPropertyGridProperty - Protected methods don't get called Pin
Member 1342254421-Sep-17 10:12
Member 1342254421-Sep-17 10:12 
QuestionKnowing window procedure from handle Pin
Sakhalean9-Dec-12 22:07
Sakhalean9-Dec-12 22:07 
AnswerRe: Knowing window procedure from handle Pin
Richard MacCutchan9-Dec-12 23:40
mveRichard MacCutchan9-Dec-12 23:40 
AnswerRe: Knowing window procedure from handle Pin
CPallini10-Dec-12 7:04
mveCPallini10-Dec-12 7:04 
QuestionHow Static variable persists/retains its value.? Pin
mbatra319-Dec-12 19:53
mbatra319-Dec-12 19:53 
AnswerRe: How Static variable persists/retains its value.? Pin
PecuniousPete9-Dec-12 20:20
PecuniousPete9-Dec-12 20:20 
Because a static variable, even when declared in side a func, is created in the DATA section of a programs run space. Think of it like a global static variable that gets initialised to zero and whose value is of course persistent.

An ordinary variable declared inside a func is created on the stack. This of course winds back and forwards so when the func returns the space that variable used is lost to the next func you call.
AnswerRe: How Static variable persists/retains its value.? Pin
Sajeesh Payolam9-Dec-12 20:25
Sajeesh Payolam9-Dec-12 20:25 
GeneralRe: How Static variable persists/retains its value.? Pin
PecuniousPete10-Dec-12 7:58
PecuniousPete10-Dec-12 7:58 
GeneralRe: How Static variable persists/retains its value.? Pin
Sajeesh Payolam10-Dec-12 16:50
Sajeesh Payolam10-Dec-12 16:50 
GeneralRe: How Static variable persists/retains its value.? Pin
PecuniousPete11-Dec-12 7:18
PecuniousPete11-Dec-12 7:18 
QuestionVC6.0 compiler error C2664 while using GUID Pin
Vaclav_9-Dec-12 5:44
Vaclav_9-Dec-12 5:44 
AnswerRe: VC6.0 compiler error C2664 while using GUID Pin
Richard MacCutchan9-Dec-12 6:02
mveRichard MacCutchan9-Dec-12 6:02 
GeneralRe: VC6.0 compiler error C2664 while using GUID Pin
Vaclav_9-Dec-12 7:14
Vaclav_9-Dec-12 7:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.