adsense


Thursday, 26 November 2015

C++ LANGUAGE PREPROCESSORS

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button



C++ LANGUAGE PREPROCESSORS




PREPROCESSORS 

The preprocessors are the directives, which give instructions to 
the compiler to preprocess the information before actual 
compilation starts. 

All preprocessor directives begin with #, and only white-space 
characters may appear before a preprocessor directive on a line. 
Preprocessor directives are not C++ statements, so they do not 
end in a semicolon (;). 

You already have seen a #include directive in all the examples. 
This macro is used to include a header file into the source file. 
There are number of preprocessor directives supported by C++ like 
#include, #define, #if, #else, #line, etc. Let us see important directives: 



No comments: