A textual macro processor applied before compiling C and C++ language programs.
I am asking this question from an educational/hacking point of view, (I wouldn't really want to code like this). …
c while-loop c-preprocessorIs the sizeof(enum) == sizeof(int), always ? Or is it compiler dependent? Is it wrong to say, as compiler are …
c enums constants c-preprocessorIf I want to expand a C macro, what are some good ways to do that (besides tracing it manually)? …
c c-preprocessorI know that WIN32 denotes win32 compilation but what is _WIN32 used for?
c++ c-preprocessorI am using various stdlib functions like srand(), etc. I have the line #include <stdlib.h> at the …
c gcc include c-preprocessor redhatI have a program that must be compiled only in DEBUG mode. (testing purpose) How can I have the preprocessor …
c-preprocessorI was wondering if it is possible to iterate over arguments passed to a variadic macro in C99 or using …
c foreach c99 c-preprocessor variadicIs there a way to (ab)use the C preprocessor to emulate namespaces in C? I'm thinking something along these …
c++ c namespaces c-preprocessorAre C-style macro names subject to the same naming rules as identifiers? After a compiler upgrade, it is now emitting …
c compiler-warnings c-preprocessorHow to define preprocessor macros in build settings, like IPAD_BUILD, and IPHONE_BUILD (and how to use them in …
ios objective-c macros c-preprocessor conditional-compilation