Click here to Skip to main content
15,901,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: i have a problem, how to solve it ? Pin
JohnCz27-Nov-09 6:39
JohnCz27-Nov-09 6:39 
GeneralRe: i have a problem, how to solve it ? Pin
nenfa27-Nov-09 15:54
nenfa27-Nov-09 15:54 
GeneralRe: i have a problem, how to solve it ? [modified] Pin
JohnCz26-Nov-09 20:03
JohnCz26-Nov-09 20:03 
GeneralRe: i have a problem, how to solve it ? Pin
JohnCz26-Nov-09 21:36
JohnCz26-Nov-09 21:36 
QuestionWhy there is difference in outputs when i change the compiler? Pin
Nilesh Hamane25-Nov-09 20:26
Nilesh Hamane25-Nov-09 20:26 
AnswerRe: Why there is difference in outputs when i change the compiler? Pin
Code-o-mat25-Nov-09 20:40
Code-o-mat25-Nov-09 20:40 
AnswerRe: Why there is difference in outputs when i change the compiler? Pin
Nilesh Hamane25-Nov-09 22:16
Nilesh Hamane25-Nov-09 22:16 
GeneralRe: Why there is difference in outputs when i change the compiler? Pin
Code-o-mat25-Nov-09 22:29
Code-o-mat25-Nov-09 22:29 
Well, there!s the ANSI C Standard[^] that i know of, but as said, some things the standard specifies as "undefined", which means -as i said- that different compilers might and will behave differently in case they "meet" something the standard does not clearly have an "oppinion" about. Your best bet to avoid such problems is to try and write code that avoids these and write "obvious" code. For example, depending on what you need you could do:
...
k = 50;
printf("%d, %d, %d", k == 35, k, k > 40);

or
int a = (k == 35);
k = 50;
int b = k;
int c = (k > 40);
printf("%d, %d, %d", a, b, c);

and so on...

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

GeneralRe: Why there is difference in outputs when i change the compiler? Pin
Luc Pattyn26-Nov-09 7:16
sitebuilderLuc Pattyn26-Nov-09 7:16 
QuestionHow to hide a baloon tip in a tray icon after some seconds? Pin
Erik25-Nov-09 10:45
Erik25-Nov-09 10:45 
AnswerRe: How to hide a baloon tip in a tray icon after some seconds? Pin
Rozis25-Nov-09 14:24
Rozis25-Nov-09 14:24 
AnswerRe: How to hide a baloon tip in a tray icon after some seconds? Pin
Naveen25-Nov-09 16:32
Naveen25-Nov-09 16:32 
QuestionHow can I install Platform SDK for Visual Studio 6.0 on XP SP3? Pin
Erik25-Nov-09 8:54
Erik25-Nov-09 8:54 
AnswerRe: How can I install Platform SDK for Visual Studio 6.0 on XP SP3? Pin
Stefan7625-Nov-09 10:11
Stefan7625-Nov-09 10:11 
GeneralRe: How can I install Platform SDK for Visual Studio 6.0 on XP SP3? Pin
Michael Schubert25-Nov-09 11:39
Michael Schubert25-Nov-09 11:39 
GeneralRe: How can I install Platform SDK for Visual Studio 6.0 on XP SP3? Pin
Rajesh R Subramanian25-Nov-09 18:56
professionalRajesh R Subramanian25-Nov-09 18:56 
GeneralRe: How can I install Platform SDK for Visual Studio 6.0 on XP SP3? Pin
Stefan7626-Nov-09 2:11
Stefan7626-Nov-09 2:11 
GeneralRe: How can I install Platform SDK for Visual Studio 6.0 on XP SP3? Pin
Rajesh R Subramanian26-Nov-09 5:22
professionalRajesh R Subramanian26-Nov-09 5:22 
AnswerRe: How can I install Platform SDK for Visual Studio 6.0 on XP SP3? Pin
Michael Schubert25-Nov-09 11:33
Michael Schubert25-Nov-09 11:33 
GeneralRe: How can I install Platform SDK for Visual Studio 6.0 on XP SP3? Pin
Erik25-Nov-09 11:58
Erik25-Nov-09 11:58 
Questionhow to make winapi control "edit" transparent? Pin
nenfa25-Nov-09 5:07
nenfa25-Nov-09 5:07 
AnswerRe: how to make winapi control "edit" transparent? Pin
Richard MacCutchan25-Nov-09 6:53
mveRichard MacCutchan25-Nov-09 6:53 
AnswerRe: how to make winapi control "edit" transparent? Pin
«_Superman_»25-Nov-09 9:26
professional«_Superman_»25-Nov-09 9:26 
GeneralRe: how to make winapi control "edit" transparent? Pin
nenfa25-Nov-09 19:09
nenfa25-Nov-09 19:09 
QuestionMFC print preview???? Pin
kk_Kevin25-Nov-09 2:09
kk_Kevin25-Nov-09 2:09 

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.