Programming tutorials online .NET, Java, C++, Visual Basic, and More
 

Home
.NET Tutorials
General Programming Tutorials
Community/Forums
Site Extras

 

C/C++ Forum
 

Open forum for posting questions or comments regarding C/C++.


POST REPLY
Posted By: R Iyke   5/20/2006 10:44:00 AM
Reply To: parwej who posted...
 
It is a Preprocessor directive and most times optional to make your programs more efficient. Example: you write a class which will be included in a program, since you will always include header files like in the program, then to avoid duplication, you can use #if...and #else... in the declaration of the class so that it is included only if it is not included in the main program.



 
Sign In
Email
Password
  Forgot my password

Search

Featured Book

Introducing Microsoft .Net, Third Edition ($19.79)
Introducing Microsoft .Net, Third Edition


Featured Software

Microsoft Visual Studio Standard 2005 ($249.99)
Microsoft Visual Studio Standard 2005