Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: My template has some error Pin
Aescleal13-Apr-12 1:52
Aescleal13-Apr-12 1:52 
Questionadvanced client server c application Pin
Member 877141612-Apr-12 1:05
Member 877141612-Apr-12 1:05 
AnswerRe: advanced client server c application Pin
Malli_S12-Apr-12 1:13
Malli_S12-Apr-12 1:13 
AnswerRe: advanced client server c application Pin
Erudite_Eric12-Apr-12 1:55
Erudite_Eric12-Apr-12 1:55 
QuestionRe: advanced client server c application Pin
David Crow12-Apr-12 2:36
David Crow12-Apr-12 2:36 
AnswerRe: advanced client server c application Pin
Albert Holguin12-Apr-12 5:08
professionalAlbert Holguin12-Apr-12 5:08 
QuestionHow to put multiple contents in Clipboard? Pin
Falconapollo12-Apr-12 0:38
Falconapollo12-Apr-12 0:38 
AnswerRe: How to put multiple contents in Clipboard? Pin
Richard MacCutchan12-Apr-12 0:47
mveRichard MacCutchan12-Apr-12 0:47 
QuestionKnowing Libs of DLL Pin
Sakhalean11-Apr-12 20:35
Sakhalean11-Apr-12 20:35 
AnswerRe: Knowing Libs of DLL Pin
Jochen Arndt12-Apr-12 0:14
professionalJochen Arndt12-Apr-12 0:14 
AnswerRe: Knowing Libs of DLL Pin
Albert Holguin12-Apr-12 5:10
professionalAlbert Holguin12-Apr-12 5:10 
QuestionHow to convert the DNS to The Ip address Pin
hack00411-Apr-12 18:55
hack00411-Apr-12 18:55 
AnswerRe: How to convert the DNS to The Ip address Pin
Mohibur Rashid11-Apr-12 19:15
professionalMohibur Rashid11-Apr-12 19:15 
AnswerRe: How to convert the DNS to The Ip address Pin
Jochen Arndt12-Apr-12 0:20
professionalJochen Arndt12-Apr-12 0:20 
QuestionWhy does not MS only use the { } when define the Macro? Pin
yu-jian11-Apr-12 16:43
yu-jian11-Apr-12 16:43 
AnswerRe: Why does not MS only use the { } when define the Macro? Pin
Mohibur Rashid11-Apr-12 19:20
professionalMohibur Rashid11-Apr-12 19:20 
GeneralRe: Why does not MS only use the { } when define the Macro? Pin
yu-jian11-Apr-12 20:15
yu-jian11-Apr-12 20:15 
Thank you for you reply.
I know the different between do-while and while.
I do know why this Macro why not defined as following:

C++
#define ATLASSUME(expr) { ATLASSERT(expr); __analysis_assume(!!(expr)); }


because the loop "do-while(0)" will be execute only once.
AnswerRe: Why does not MS only use the { } when define the Macro? Pin
CPallini11-Apr-12 22:31
mveCPallini11-Apr-12 22:31 
GeneralRe: Why does not MS only use the { } when define the Macro? Pin
yu-jian11-Apr-12 23:52
yu-jian11-Apr-12 23:52 
GeneralRe: Why does not MS only use the { } when define the Macro? Pin
CPallini12-Apr-12 2:55
mveCPallini12-Apr-12 2:55 
JokeRe: Why does not MS only use the { } when define the Macro? Pin
Rajesh R Subramanian12-Apr-12 5:10
professionalRajesh R Subramanian12-Apr-12 5:10 
GeneralRe: Why does not MS only use the { } when define the Macro? Pin
CPallini12-Apr-12 7:57
mveCPallini12-Apr-12 7:57 
AnswerRe: Why does not MS only use the { } when define the Macro? Pin
hebegumeci15-Apr-12 9:21
hebegumeci15-Apr-12 9:21 
Questiontemplate/callback function question Pin
remstadt11-Apr-12 13:24
remstadt11-Apr-12 13:24 
AnswerRe: template/callback function question Pin
Stefan_Lang17-Apr-12 2:15
Stefan_Lang17-Apr-12 2:15 

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.