A textual macro processor applied before compiling C and C++ language programs.
I have been trying to implement a function macro in C that prepends "DEBUG: ", to the argument, and passes its …
c macros c-preprocessor variadic-macros stringificationHow can I have a __TIMESTAMP__ replacement in ISO 8601:2004? __TIMESTAMP__ Sat Jul 6 02:50:06 2013 vs __TIMESTAMP_ISO__ 2013-07-06T00:50:06Z
c gcc clang c-preprocessor iccWhy does the std::cout line in the following code run even though A and B are different? #include <…
c++ c-preprocessorI'm currently trying to switch between a few different default Icons in a Visual C++ .rc file using #ifdef tags. …
c++ visual-studio-2010 msbuild c-preprocessor rcI've been using Google's DISALLOW_COPY_AND_ASSIGN macro from their C++ Style Guide for a couple of months now, …
c++ c++11 c-preprocessor google-style-guideIs there a preprocessor directive that checks whether a constant is not defined. I am aware of the #ifndef directive …
c-preprocessor preprocessor-directiveSo I've got a macro that works nicely in GCC, but not in Microsoft's C++ Compiler. I'm hoping somebody might …
c++ visual-c++ c-preprocessor variadic-macrosBack a long time ago I used to use pre-compiled headers: a. to speed compilation and b. because I supported …
c++ c-preprocessor precompiled-headersIn trying to de-couple my model from the view controllers that display fetched data, when an asynchronous fetch completes, I …
objective-c c-preprocessor nsnotificationI know that I can use preprocessor directives in C# to enable/disable compilation of some part of code. If …
c# c-preprocessor conditional-compilation