Click here to Skip to main content
16,011,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: double to CString and back [modified] Pin
toxcct19-Jul-06 3:40
toxcct19-Jul-06 3:40 
GeneralRe: double to CString and back Pin
Zac Howland19-Jul-06 4:32
Zac Howland19-Jul-06 4:32 
GeneralRe: double to CString and back Pin
toxcct19-Jul-06 4:46
toxcct19-Jul-06 4:46 
GeneralRe: double to CString and back [modified] Pin
Zac Howland19-Jul-06 4:55
Zac Howland19-Jul-06 4:55 
GeneralRe: double to CString and back Pin
toxcct19-Jul-06 5:00
toxcct19-Jul-06 5:00 
QuestionGDI+ and Zooming on the picture ... Pin
Hadi Rezaee19-Jul-06 0:22
Hadi Rezaee19-Jul-06 0:22 
QuestionFinding if the target platform supports 64 bit Arithmetic Pin
ComplexLifeForm19-Jul-06 0:19
ComplexLifeForm19-Jul-06 0:19 
AnswerRe: Finding if the target platform supports 64 bit Arithmetic Pin
Steve S19-Jul-06 1:39
Steve S19-Jul-06 1:39 
Well, VC6++ includes __int64, so you could check

#if defined(_MSC_VER)
#if _MSC_VER >= 1200
// Yup, it's VC6 or later
#endif
#endif

There are different processor type macros, such as _M_IX86 which you can use to determine that it's compiling for X86. There are similar ones supported by (for instance) the ARM compiler for Windows Embedded.

What you need to do is look at the predefined macros like this for each of the compilers you're using for different platforms.

Steve S
Developer for hire
AnswerRe: Finding if the target platform supports 64 bit Arithmetic Pin
Chris Losinger19-Jul-06 1:41
professionalChris Losinger19-Jul-06 1:41 
Questionvs c++ Pin
jitenderbansal18-Jul-06 23:54
jitenderbansal18-Jul-06 23:54 
AnswerRe: vs c++ Pin
toxcct18-Jul-06 23:56
toxcct18-Jul-06 23:56 
GeneralRe: vs c++ Pin
see me19-Jul-06 0:07
see me19-Jul-06 0:07 
GeneralRe: vs c++ Pin
toxcct19-Jul-06 0:11
toxcct19-Jul-06 0:11 
GeneralRe: vs c++ Pin
see me19-Jul-06 0:22
see me19-Jul-06 0:22 
GeneralRe: vs c++ Pin
toxcct19-Jul-06 0:24
toxcct19-Jul-06 0:24 
GeneralRe: vs c++ Pin
see me19-Jul-06 0:34
see me19-Jul-06 0:34 
GeneralRe: vs c++ Pin
see me19-Jul-06 0:23
see me19-Jul-06 0:23 
AnswerRe: vs c++ Pin
sunit519-Jul-06 0:01
sunit519-Jul-06 0:01 
AnswerRe: vs c++ Pin
_AnsHUMAN_ 19-Jul-06 0:21
_AnsHUMAN_ 19-Jul-06 0:21 
GeneralRe: vs c++ Pin
see me19-Jul-06 0:31
see me19-Jul-06 0:31 
AnswerRe: vs c++ Pin
Ștefan-Mihai MOGA19-Jul-06 0:35
professionalȘtefan-Mihai MOGA19-Jul-06 0:35 
Questionpush n pop matrix Pin
ooola rocks18-Jul-06 23:22
ooola rocks18-Jul-06 23:22 
AnswerRe: push n pop matrix Pin
toxcct18-Jul-06 23:54
toxcct18-Jul-06 23:54 
GeneralRe: push n pop matrix Pin
Steve S19-Jul-06 1:39
Steve S19-Jul-06 1:39 
AnswerRe: push n pop matrix Pin
Maximilien19-Jul-06 3:01
Maximilien19-Jul-06 3:01 

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.