Click here to Skip to main content
15,798,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCString to CByteArray Pin
_Flaviu9-Jan-18 1:16
_Flaviu9-Jan-18 1:16 
AnswerRe: CString to CByteArray Pin
Jochen Arndt9-Jan-18 2:11
professionalJochen Arndt9-Jan-18 2:11 
AnswerRe: CString to CByteArray Pin
Victor Nijegorodov9-Jan-18 2:15
Victor Nijegorodov9-Jan-18 2:15 
AnswerRe: CString to CByteArray Pin
leon de boer9-Jan-18 3:26
leon de boer9-Jan-18 3:26 
GeneralRe: CString to CByteArray Pin
_Flaviu10-Jan-18 1:21
_Flaviu10-Jan-18 1:21 
QuestionMultiThread Question Pin
ForNow8-Jan-18 3:03
ForNow8-Jan-18 3:03 
AnswerRe: MultiThread Question Pin
Jochen Arndt8-Jan-18 3:28
professionalJochen Arndt8-Jan-18 3:28 
GeneralRe: MultiThread Question Pin
ForNow8-Jan-18 3:41
ForNow8-Jan-18 3:41 
Thanks I think of static local variables as global. I am using a local variable as a switch if local variable BOOL foo = TRUE for thread A, It (BOOL foo is not the same) for thread B

is there any reason in a Multithread application I would have to guard them (local variables non static ) there are no references to them by pointers

Thanks
GeneralRe: MultiThread Question Pin
Jochen Arndt8-Jan-18 4:00
professionalJochen Arndt8-Jan-18 4:00 
GeneralRe: MultiThread Question Pin
ForNow8-Jan-18 4:03
ForNow8-Jan-18 4:03 
Questionarray and pointer Pin
Anonygeeker7-Jan-18 19:02
Anonygeeker7-Jan-18 19:02 
AnswerRe: array and pointer Pin
Rick York7-Jan-18 19:56
mveRick York7-Jan-18 19:56 
AnswerRe: array and pointer Pin
CPallini7-Jan-18 22:44
mveCPallini7-Jan-18 22:44 
AnswerRe: array and pointer Pin
cao_aba39-Jan-18 16:55
cao_aba39-Jan-18 16:55 
GeneralRe: array and pointer Pin
Richard MacCutchan9-Jan-18 23:26
mveRichard MacCutchan9-Jan-18 23:26 
QuestionWhat am I doing wrong defining single bit? Pin
Vaclav_7-Jan-18 13:36
Vaclav_7-Jan-18 13:36 
AnswerRe: What am I doing wrong defining single bit? Pin
leon de boer7-Jan-18 16:23
leon de boer7-Jan-18 16:23 
GeneralRe: What am I doing wrong defining single bit? Pin
Vaclav_8-Jan-18 6:37
Vaclav_8-Jan-18 6:37 
QuestionC program to reverse the order of the words entered. Pin
Tarun Jha7-Jan-18 7:45
Tarun Jha7-Jan-18 7:45 
GeneralRe: C program to reverse the order of the words entered. Pin
PIEBALDconsult7-Jan-18 8:01
professionalPIEBALDconsult7-Jan-18 8:01 
SuggestionRe: C program to reverse the order of the words entered. Pin
David Crow7-Jan-18 16:50
David Crow7-Jan-18 16:50 
QuestionWrite data to file which cannot be viewed Pin
manoharbalu5-Jan-18 3:09
manoharbalu5-Jan-18 3:09 
SuggestionRe: Write data to file which cannot be viewed Pin
David Crow5-Jan-18 3:16
David Crow5-Jan-18 3:16 
AnswerRe: Write data to file which cannot be viewed Pin
Richard MacCutchan5-Jan-18 3:35
mveRichard MacCutchan5-Jan-18 3:35 
AnswerRe: Write data to file which cannot be viewed Pin
jschell5-Jan-18 14:45
jschell5-Jan-18 14:45 

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.