A step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.
A C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.
This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.
How to use #ifdef and #ifndef to check if an identifier has been defined
On Saturday, July 30th 2005 at 04:46 PM
By Andrew Pociu (View Profile)
(Rated 0 with 0 votes)
Here's an example that defines the value Whidbey only if it wasn't defined before:
Similarly, what's between #ifdef and #endif is compiled only if #ifdef returns true (and the value was defined before):
|Digg It! Del.icio.us Reddit StumbleIt Newsvine Furl BlinkList|
Rate this Knowledge Base article
Related Knowledge Base Articles
There are no related KB articles.
Related Source Code
There is no related code.
There are no related tutorials.
C++ Job Search