Click here to Skip to main content
15,891,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMultiple dialog boxes Pin
alitokmen24-Jul-06 4:10
alitokmen24-Jul-06 4:10 
AnswerRe: Multiple dialog boxes Pin
Michael Dunn24-Jul-06 18:56
sitebuilderMichael Dunn24-Jul-06 18:56 
QuestionHow to use standard bitmaps in a toolbar Pin
Franken24-Jul-06 2:12
Franken24-Jul-06 2:12 
AnswerRe: How to use standard bitmaps in a toolbar Pin
kitty524-Jul-06 2:50
kitty524-Jul-06 2:50 
GeneralRe: How to use standard bitmaps in a toolbar Pin
Franken24-Jul-06 3:14
Franken24-Jul-06 3:14 
GeneralRe: How to use standard bitmaps in a toolbar [modified] Pin
kitty524-Jul-06 3:22
kitty524-Jul-06 3:22 
AnswerThe "brute force & pig ignorance" solution Pin
normanS24-Jul-06 19:57
normanS24-Jul-06 19:57 
QuestionType Cast Problem Pin
Uday Janaswamy24-Jul-06 2:02
Uday Janaswamy24-Jul-06 2: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 2:13
professionalChris Losinger24-Jul-06 2:13 
GeneralRe: Type Cast Problem Pin
Uday Janaswamy24-Jul-06 2:30
Uday Janaswamy24-Jul-06 2:30 
AnswerRe: Type Cast Problem Pin
Stephen Hewitt24-Jul-06 13:53
Stephen Hewitt24-Jul-06 13:53 
Questionstring trim Pin
tanarnelinistit24-Jul-06 1:44
tanarnelinistit24-Jul-06 1:44 
AnswerRe: string trim Pin
_AnsHUMAN_ 24-Jul-06 2:00
_AnsHUMAN_ 24-Jul-06 2:00 
AnswerRe: string trim Pin
James R. Twine24-Jul-06 3:03
James R. Twine24-Jul-06 3:03 
GeneralRe: string trim Pin
Blake Miller24-Jul-06 12:13
Blake Miller24-Jul-06 12:13 
GeneralRe: string trim Pin
James R. Twine24-Jul-06 14:09
James R. Twine24-Jul-06 14:09 
AnswerRe: string trim Pin
David Crow24-Jul-06 4:14
David Crow24-Jul-06 4:14 
AnswerRe: string trim Pin
Zac Howland24-Jul-06 6:29
Zac Howland24-Jul-06 6:29 
AnswerRe: string trim Pin
James R. Twine24-Jul-06 8:10
James R. Twine24-Jul-06 8:10 
QuestionDatabase connection in vc++ Pin
ningthemcha24-Jul-06 1:04
ningthemcha24-Jul-06 1:04 
AnswerRe: Database connection in vc++ Pin
_AnsHUMAN_ 24-Jul-06 1:19
_AnsHUMAN_ 24-Jul-06 1:19 
AnswerRe: Database connection in vc++ Pin
David Crow24-Jul-06 2:59
David Crow24-Jul-06 2:59 
QuestionDisplaying the content of control to new form contron Pin
ningthemcha24-Jul-06 1:02
ningthemcha24-Jul-06 1:02 
AnswerRe: Displaying the content of control to new form contron Pin
_AnsHUMAN_ 24-Jul-06 2:33
_AnsHUMAN_ 24-Jul-06 2:33 
AnswerRe: Displaying the content of control to new form contron Pin
Hamid_RT24-Jul-06 2:41
Hamid_RT24-Jul-06 2: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.