Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C
Macro Preprocessor 37 codes
Home
C
Macro Preprocessor
1 #define and #ifdef
2 #define, #ifdef #else example
3 #IF #ELSE #ENDIF
4 #ifndef Demo
5 Check if a macro has been defined
6 Define constant in Macro
7 Define constant in Macro for loop control
8 Define header file name in macro
9 Define inline function
10 Define Macro
11 Define Macro and use it as the loop condition
12 Define Macro as simple function
13 Define macro for string and output
14 Define macro inside the main function
15 Define marco based calculation
16 Define preprocessor for char set
17 Define small function in macro
18 Defining a macro to compare two values
19 Defining a macro to output the value of an expression
20 Generate a square table
21 IF and endif preprocessor
22 Ifdef preprocessor
23 Join string
24 Macro in different file
25 Make string
26 Output compiling info after #line preprocessor
27 Output string using Macro
28 Reset the line counter
29 Simple #if example
30 Simple #if#else example
31 Use Macro
32 Use macro in calculation
33 Use macro to build string
34 Use Macro to check the int range
35 Use macro to find the minor variable
36 Use Macro to get the bigger int value
37 Use marco for small function