Click here to Skip to main content
15,880,796 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: polygon made by intersection of two polygon ??? Pin
Hamid_RT7-Jan-10 20:57
Hamid_RT7-Jan-10 20:57 
AnswerRe: polygon made by intersection of two polygon ??? Pin
Nelek7-Jan-10 21:09
protectorNelek7-Jan-10 21:09 
AnswerRe: polygon made by intersection of two polygon ??? Pin
CPallini7-Jan-10 21:13
mveCPallini7-Jan-10 21:13 
GeneralRe: polygon made by intersection of two polygon ??? Pin
Cedric Moonen7-Jan-10 21:15
Cedric Moonen7-Jan-10 21:15 
GeneralRe: polygon made by intersection of two polygon ??? Pin
Nelek7-Jan-10 21:19
protectorNelek7-Jan-10 21:19 
AnswerRe: polygon made by intersection of two polygon ??? Pin
Saurabh.Garg9-Jan-10 14:39
Saurabh.Garg9-Jan-10 14:39 
GeneralRe: polygon made by intersection of two polygon ??? Pin
a04.lqd9-Jan-10 14:51
a04.lqd9-Jan-10 14:51 
Questionstrcmp for NULL character Pin
Anu_Bala7-Jan-10 18:50
Anu_Bala7-Jan-10 18:50 
Hi,
In my coding i initialized null to CString.Im comoaring NULL character to that string.But it returns wrong value.See my code.

CString ExeMonFile=_T(""); 
int NoExeMonFile=1;
if(strcmp(ExeMonFile,"")!=0)
     NoExeMonFile=0;


By debugging the NoExeMonFile became 0.
Then i found that ExeMonFile is initialized to some other text.How its possible.
I declared ExeMonFile Globally.
Im using VS2008.Whats the betterway to initialize CString .

Anu

AnswerRe: strcmp for NULL character Pin
Naveen7-Jan-10 19:16
Naveen7-Jan-10 19:16 
GeneralRe: strcmp for NULL character Pin
Anu_Bala7-Jan-10 19:20
Anu_Bala7-Jan-10 19:20 
GeneralRe: strcmp for NULL character Pin
Naveen7-Jan-10 19:27
Naveen7-Jan-10 19:27 
GeneralRe: strcmp for NULL character Pin
Anu_Bala7-Jan-10 19:31
Anu_Bala7-Jan-10 19:31 
GeneralRe: strcmp for NULL character Pin
Naveen7-Jan-10 19:36
Naveen7-Jan-10 19:36 
GeneralRe: strcmp for NULL character Pin
Anu_Bala7-Jan-10 19:42
Anu_Bala7-Jan-10 19:42 
GeneralRe: strcmp for NULL character Pin
Naveen7-Jan-10 21:10
Naveen7-Jan-10 21:10 
AnswerRe: strcmp for NULL character Pin
KingsGambit7-Jan-10 19:43
KingsGambit7-Jan-10 19:43 
QuestionRe: strcmp for NULL character Pin
CPallini7-Jan-10 20:35
mveCPallini7-Jan-10 20:35 
AnswerRe: strcmp for NULL character Pin
Anu_Bala7-Jan-10 21:17
Anu_Bala7-Jan-10 21:17 
QuestionRe: strcmp for NULL character Pin
CPallini7-Jan-10 21:59
mveCPallini7-Jan-10 21:59 
AnswerRe: strcmp for NULL character Pin
Hamid_RT7-Jan-10 20:53
Hamid_RT7-Jan-10 20:53 
Questionsending click message to child button of a window. Pin
_T("No name")7-Jan-10 18:28
_T("No name")7-Jan-10 18:28 
QuestionRe: sending click message to child button of a window. Pin
Nelek7-Jan-10 20:38
protectorNelek7-Jan-10 20:38 
AnswerRe: sending click message to child button of a window. Pin
_T("No name")11-Jan-10 21:52
_T("No name")11-Jan-10 21:52 
AnswerRe: sending click message to child button of a window. Pin
Roger Allen13-Jan-10 5:12
Roger Allen13-Jan-10 5:12 
GeneralRe: sending click message to child button of a window. Pin
_T("No name")13-Jan-10 5:55
_T("No name")13-Jan-10 5:55 

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.