31 Answered Questions
[SOLVED] What is the difference between #include <filename> and #include "filename"?
- 2008-08-22 01:40:06
- quest49
- 478017 View
- 1972 Score
- 31 Answer
- Tags: c++ c include header-files c-preprocessor
11 Answered Questions
[SOLVED] Why use apparently meaningless do-while and if-else statements in macros?
- 2008-09-30 17:36:24
- jfm3
- 82516 View
- 695 Score
- 11 Answer
- Tags: c++ c c-preprocessor c++-faq
2 Answered Questions
[SOLVED] How to concatenate twice with the C preprocessor and expand a macro as in "arg ## _ ## MACRO"?
- 2009-09-29 00:03:08
- JJ.
- 62734 View
- 128 Score
- 2 Answer
- Tags: c concatenation token c-preprocessor
8 Answered Questions
[SOLVED] The need for parentheses in macros in C
- 2012-05-30 16:25:26
- Kushal
- 17221 View
- 26 Score
- 8 Answer
- Tags: c macros c-preprocessor parentheses
12 Answered Questions
[SOLVED] C #define macro for debug printing
- 2009-10-29 16:17:32
- jfarrell
- 158865 View
- 180 Score
- 12 Answer
- Tags: c c-preprocessor
10 Answered Questions
[SOLVED] How do I see a C/C++ source file after preprocessing in Visual Studio?
- 2008-11-10 07:11:08
- Geo
- 86397 View
- 199 Score
- 10 Answer
- Tags: c++ c debugging visual-studio-2005 c-preprocessor
10 Answered Questions
[SOLVED] #pragma pack effect
- 2010-07-23 13:12:58
- Cenoc
- 158405 View
- 189 Score
- 10 Answer
- Tags: c c-preprocessor pragma-pack
4 Answered Questions
[SOLVED] Combining C++ and C - how does #ifdef __cplusplus work?
- 2010-09-24 17:03:28
- dublev
- 175889 View
- 275 Score
- 4 Answer
- Tags: c++ c c-preprocessor extern-c
18 Answered Questions
[SOLVED] Easy way to use variables of enum types as string in C?
- 2008-09-29 02:00:24
- zxcv
- 89866 View
- 83 Score
- 18 Answer
- Tags: c enums c-preprocessor
9 Answered Questions
[SOLVED] Should I use #include in headers?
- 2009-11-26 15:55:01
- Victor
- 49458 View
- 62 Score
- 9 Answer
- Tags: c c-preprocessor file-organization
7 Answered Questions
[SOLVED] Why are preprocessor macros evil and what are the alternatives?
- 2012-12-26 13:44:51
- user1849534
- 32581 View
- 73 Score
- 7 Answer
- Tags: c++ c++11 compiler-construction c-preprocessor
11 Answered Questions
[SOLVED] C++ preprocessor __VA_ARGS__ number of arguments
- 2010-01-23 19:11:08
- Anycorn
- 90512 View
- 76 Score
- 11 Answer
- Tags: c++ c c-preprocessor variadic-macros
13 Answered Questions
[SOLVED] What are the applications of the ## preprocessor operator and gotchas to consider?
- 2008-10-19 19:51:26
- John Rudy
- 67047 View
- 86 Score
- 13 Answer
- Tags: c c-preprocessor kernighan-and-ritchie stringification
8 Answered Questions
[SOLVED] Overloading Macro on Number of Arguments
- 2012-08-01 14:42:42
- Andrew Tomazos
- 47340 View
- 151 Score
- 8 Answer
- Tags: c macros c-preprocessor
5 Answered Questions
[SOLVED] How to make a variadic macro (variable number of arguments)
- 2009-03-25 02:08:15
- hasen
- 160741 View
- 169 Score
- 5 Answer
- Tags: c g++ c-preprocessor variadic
6 Answered Questions
[SOLVED] GCC dump preprocessor defines
- 2010-02-08 19:40:28
- Anycorn
- 101174 View
- 219 Score
- 6 Answer
- Tags: gcc g++ c-preprocessor
14 Answered Questions
[SOLVED] MIN and MAX in C
- 2010-08-09 04:49:40
- Matt Joiner
- 584102 View
- 239 Score
- 14 Answer
- Tags: c max min c-preprocessor
3 Answered Questions
[SOLVED] How to detect reliably Mac OS X, iOS, Linux, Windows in C preprocessor?
- 2011-05-07 08:37:51
- Eonil
- 128979 View
- 277 Score
- 3 Answer
- Tags: c++ c cross-platform c-preprocessor os-detection
6 Answered Questions
[SOLVED] Real-world use of X-Macros
- 2011-07-09 15:56:16
- Agnius Vasiliauskas
- 14571 View
- 63 Score
- 6 Answer
- Tags: c macros c-preprocessor x-macros
16 Answered Questions
[SOLVED] How do I check OS with a preprocessor directive?
- 2008-09-26 23:44:00
- perimosocordiae
- 113487 View
- 145 Score
- 16 Answer
- Tags: c operating-system c-preprocessor conditional-compilation
3 Answered Questions
[SOLVED] Why are #ifndef and #define used in C++ header files?
- 2009-10-31 10:06:34
- Asad Khan
- 337030 View
- 382 Score
- 3 Answer
- Tags: c++ c-preprocessor
9 Answered Questions
[SOLVED] Are typedef and #define the same in c?
- 2009-11-03 09:57:30
- hdn
- 62923 View
- 107 Score
- 9 Answer
- Tags: c macros c-preprocessor typedef
9 Answered Questions
[SOLVED] Is it possible to iterate over arguments in variadic macros?
- 2009-12-09 07:35:04
- vshenoy
- 43466 View
- 61 Score
- 9 Answer
- Tags: c foreach c99 c-preprocessor variadic
3 Answered Questions
[SOLVED] C/C++ Macro string concatenation
- 2011-03-10 06:36:03
- tvr
- 145426 View
- 89 Score
- 3 Answer
- Tags: c++ c c-preprocessor
15 Answered Questions
[SOLVED] "#include" a text file in a C program as a char[]
- 2009-01-04 13:37:56
- ZeD
- 51428 View
- 107 Score
- 15 Answer
- Tags: c include c-preprocessor
38 Answered Questions
[SOLVED] When are C++ macros beneficial?
- 2008-09-18 19:46:04
- Motti
- 81457 View
- 157 Score
- 38 Answer
- Tags: c++ c-preprocessor
7 Answered Questions
[SOLVED] Comma in C/C++ macro
- 2012-12-12 15:00:22
- PoP
- 29168 View
- 88 Score
- 7 Answer
- Tags: c++ c macros c-preprocessor
3 Answered Questions
[SOLVED] Stringification of a macro value
- 2010-04-16 13:25:19
- SF.
- 35844 View
- 23 Score
- 3 Answer
- Tags: c string concatenation c-preprocessor
14 Answered Questions
[SOLVED] Compile, Build or Archive problems with Xcode 4 (and dependencies)
- 2011-04-07 16:22:51
- rjstelling
- 79870 View
- 96 Score
- 14 Answer
- Tags: objective-c compiler-construction xcode4 clang c-preprocessor
3 Answered Questions
[SOLVED] What is the meaning of lines starting with a hash sign and number like '# 1 "a.c"' in the gcc preprocessor output?
- 2011-03-20 18:34:35
- user607722
- 40054 View
- 56 Score
- 3 Answer
- Tags: gcc c-preprocessor