Is there a #define that indicates whether Visual Studio is compiling in 64bit mode? I'd like to be able to include some code conditionally like so
#ifdef _IS_64BIT
...
#else //32 bit
...
#endif
I know I can create a flag myself, but I'm wondering if the compiler provides one.
Which One Should You Use: Is There A or Is There Any? We must use 'a' with singular countable nouns and 'any' with uncountable nouns. We use 'is' with both singular countable nouns and uncountable nouns. Remember, uncountable nouns do have countable forms of measurement.
The choice between the phrases there is and there are at the beginning of a sentence is determined by the noun that follows it. Use there is when the noun is singular (“There is a cat”). Use there are when the noun is plural (“There are two cats”).
#ifdef _WIN64 ... #else ... #endif
Documented on MSDN
Use _WIN64
. It won't matter the type of 64 bit processor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With