Click here to Skip to main content
15,845,829 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMultiple dialog boxes Pin
alitokmen24-Jul-06 5:10
alitokmen24-Jul-06 5:10 
AnswerRe: Multiple dialog boxes Pin
Michael Dunn24-Jul-06 19:56
sitebuilderMichael Dunn24-Jul-06 19:56 
QuestionHow to use standard bitmaps in a toolbar Pin
Franken24-Jul-06 3:12
Franken24-Jul-06 3:12 
AnswerRe: How to use standard bitmaps in a toolbar Pin
kitty524-Jul-06 3:50
kitty524-Jul-06 3:50 
GeneralRe: How to use standard bitmaps in a toolbar Pin
Franken24-Jul-06 4:14
Franken24-Jul-06 4:14 
GeneralRe: How to use standard bitmaps in a toolbar [modified] Pin
kitty524-Jul-06 4:22
kitty524-Jul-06 4:22 
AnswerThe "brute force & pig ignorance" solution Pin
normanS24-Jul-06 20:57
normanS24-Jul-06 20:57 
QuestionType Cast Problem Pin
Uday Janaswamy24-Jul-06 3:02
Uday Janaswamy24-Jul-06 3:02 
Hi all,

I am unable to get a clear idea why i am getting wrong.

//=======================================================================

int x;
unsigned long y;

x = -1;
y = 100;

if(x > y){
MessageBox("X is greater than Y");
}
else
MessageBox("Y is greater than X");
//=========================================================================

in the above statement first statement is being executed why.

please let me know.


Uday
AnswerRe: Type Cast Problem Pin
Chris Losinger24-Jul-06 3:13
professionalChris Losinger24-Jul-06 3:13 
GeneralRe: Type Cast Problem Pin
Uday Janaswamy24-Jul-06 3:30
Uday Janaswamy24-Jul-06 3:30 
AnswerRe: Type Cast Problem Pin
Stephen Hewitt24-Jul-06 14:53
Stephen Hewitt24-Jul-06 14:53 
Questionstring trim Pin
tanarnelinistit24-Jul-06 2:44
tanarnelinistit24-Jul-06 2:44 
AnswerRe: string trim Pin
_AnsHUMAN_ 24-Jul-06 3:00
_AnsHUMAN_ 24-Jul-06 3:00 
AnswerRe: string trim Pin
James R. Twine24-Jul-06 4:03
James R. Twine24-Jul-06 4:03 
GeneralRe: string trim Pin
Blake Miller24-Jul-06 13:13
Blake Miller24-Jul-06 13:13 
GeneralRe: string trim Pin
James R. Twine24-Jul-06 15:09
James R. Twine24-Jul-06 15:09 
AnswerRe: string trim Pin
David Crow24-Jul-06 5:14
David Crow24-Jul-06 5:14 
AnswerRe: string trim Pin
Zac Howland24-Jul-06 7:29
Zac Howland24-Jul-06 7:29 
AnswerRe: string trim Pin
James R. Twine24-Jul-06 9:10
James R. Twine24-Jul-06 9:10 
QuestionDatabase connection in vc++ Pin
ningthemcha24-Jul-06 2:04
ningthemcha24-Jul-06 2:04 
AnswerRe: Database connection in vc++ Pin
_AnsHUMAN_ 24-Jul-06 2:19
_AnsHUMAN_ 24-Jul-06 2:19 
AnswerRe: Database connection in vc++ Pin
David Crow24-Jul-06 3:59
David Crow24-Jul-06 3:59 
QuestionDisplaying the content of control to new form contron Pin
ningthemcha24-Jul-06 2:02
ningthemcha24-Jul-06 2:02 
AnswerRe: Displaying the content of control to new form contron Pin
_AnsHUMAN_ 24-Jul-06 3:33
_AnsHUMAN_ 24-Jul-06 3:33 
AnswerRe: Displaying the content of control to new form contron Pin
Hamid_RT24-Jul-06 3:41
Hamid_RT24-Jul-06 3:41 

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.