Click here to Skip to main content
15,905,614 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Check if file is there or not Pin
ThatsAlok5-Dec-06 22:08
ThatsAlok5-Dec-06 22:08 
QuestionCompare folders Pin
pro.log5-Dec-06 11:04
pro.log5-Dec-06 11:04 
AnswerRe: Compare folders Pin
David Crow5-Dec-06 16:45
David Crow5-Dec-06 16:45 
GeneralRe: Compare folders Pin
pro.log6-Dec-06 3:07
pro.log6-Dec-06 3:07 
GeneralRe: Compare folders Pin
David Crow6-Dec-06 4:01
David Crow6-Dec-06 4:01 
QuestionIs there any way to statically link with kernel32/ntdll? Pin
sunriseway5-Dec-06 10:08
sunriseway5-Dec-06 10:08 
AnswerRe: Is there any way to statically link with kernel32/ntdll? Pin
Zac Howland5-Dec-06 10:16
Zac Howland5-Dec-06 10:16 
Questionsprintf vs strcpy Pin
Blake Miller5-Dec-06 9:02
Blake Miller5-Dec-06 9:02 
So I see a lot of code like this lately:

sprintf(pUserPwd, "%s", oVerifedWriteDlg.m_UserPwd);

Why use that instead of just going with strcpy?

strcpy(pUserPwd, oVerifedWriteDlg.m_UserPwd);

Am I missing something?

I am inclined to think the sprintf would be a lot slower ... D'Oh! | :doh:
AnswerRe: sprintf vs strcpy Pin
David Crow5-Dec-06 9:09
David Crow5-Dec-06 9:09 
AnswerRe: sprintf vs strcpy Pin
Zac Howland5-Dec-06 9:30
Zac Howland5-Dec-06 9:30 
AnswerRe: sprintf vs strcpy Pin
led mike5-Dec-06 9:43
led mike5-Dec-06 9:43 
GeneralRe: sprintf vs strcpy Pin
Zac Howland5-Dec-06 10:00
Zac Howland5-Dec-06 10:00 
GeneralRe: sprintf vs strcpy Pin
led mike5-Dec-06 10:31
led mike5-Dec-06 10:31 
AnswerRe: sprintf vs strcpy Pin
Stephen Hewitt5-Dec-06 12:08
Stephen Hewitt5-Dec-06 12:08 
Questionsimple code question Pin
CaptainChainsaw5-Dec-06 6:51
CaptainChainsaw5-Dec-06 6:51 
AnswerRe: simple code question Pin
Nemanja Trifunovic5-Dec-06 6:58
Nemanja Trifunovic5-Dec-06 6:58 
AnswerRe: simple code question Pin
David Crow5-Dec-06 7:18
David Crow5-Dec-06 7:18 
AnswerRe: simple code question Pin
zoid ! 5-Dec-06 7:28
zoid ! 5-Dec-06 7:28 
AnswerRe: simple code question Pin
includeh105-Dec-06 8:06
includeh105-Dec-06 8:06 
AnswerRe: simple code question Pin
CaptainChainsaw5-Dec-06 9:16
CaptainChainsaw5-Dec-06 9:16 
AnswerRe: simple code question Pin
Zac Howland5-Dec-06 9:34
Zac Howland5-Dec-06 9:34 
QuestionCTooltipCtrl Pin
Demian Panello5-Dec-06 6:28
Demian Panello5-Dec-06 6:28 
AnswerRe: CTooltipCtrl Pin
Wes Aday5-Dec-06 10:06
professionalWes Aday5-Dec-06 10:06 
QuestionHow to use MSFLexGrid in VC 2005 Pin
masnu5-Dec-06 5:42
masnu5-Dec-06 5:42 
AnswerRe: How to use MSFLexGrid in VC 2005 Pin
prasad_som6-Dec-06 18:49
prasad_som6-Dec-06 18:49 

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.