why # in C before include statement
why # in C before include statement
Page 1 of 12 Replies - 114 Views - Last Post: 05 October 2012 - 11:39 PM
Replies To: why # in C before include statement
#2
Re: why # in C before include statement
Posted 05 October 2012 - 11:36 PM
http://en.wikipedia..../C_preprocessor
Because # is an instruction for the C pre-processor, not the compiler.
Because # is an instruction for the C pre-processor, not the compiler.
#3
Re: why # in C before include statement
Posted 05 October 2012 - 11:39 PM
Well! It is a C-style of defining Macros and including Header files...
e.g.
Also, as Salem_c mentioned, these directive are processed by the per-processor before compilation. The header files are included in the specified file and the Macros are evaluated to the value they are defined to...
Hope this Helps!
e.g.
#define Identifier Value&
#include header
Also, as Salem_c mentioned, these directive are processed by the per-processor before compilation. The header files are included in the specified file and the Macros are evaluated to the value they are defined to...
Hope this Helps!
This post has been edited by AKMafia001: 05 October 2012 - 11:48 PM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|