![]() iPhone TARGET_OS_IPHONE include TargetConditionals.h 8. iOS simulator TARGET_IPHONE_SIMULATOR include TargetConditionals.h 7. iOS embedded TARGET_OS_EMBEDDED include TargetConditionals.h 6. Windows 64 bit _WIN64 Only for 64 bit windows 3. Windows 32-bit + 64-bit _WIN32 for all Windows OS 2. The list of macro for some popular OS are as follows: Sr. Similarly other OS has different macro defined. To find the OS (Operating System) we check out the macro defined by the compiler, for example windows with 32-bit OS has “ _WIN32” as macro so if the macro is defined then the system we are working on is windows with 32-bit operating system. This piece of information is very useful for the case where we want to build platform independent program. One can find out the operating system on which the program is running with the help of C programming. size of char datatype and char array in C.C Program for Bubble Sort on Linked List. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |