C++: Pre-processors to compile between 32bit and 64bit code

Sometimes you HAVE to make small changes in your code for it to compile for both x86 and x64 code. To do that, add the following statements into your code.

#ifdef _M_X64
// 64bit code here
#else
// 32bit code here
#endif
 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog