// Author: Keith Shomper // Date: 10/20/03 // Purpose: To demonstrate conditional compilation #define DEBUG #include using namespace std; int main () { int a, b, c; cout << "Please enter a number: "; cin >> a; cout << "Please enter another number: "; cin >> b; c = a+b; #ifdef DEBUG cout << "\nDEBUG: The variable c is " << c << endl << endl; #endif cout << "The number " << a << " + " << b << " = " << c << endl; return 0; }