#include <iostream.h>
#include <conio.h>
#define print 1 /* macro 'print' definition */
void main()
{
int a = 10 ;
clrscr () ;
a = a + 1 ;
#if defined (print) /* if macro 'print' defined */
cout << "a = " << a ;
#endif
getch () ;
}
Labels: C++ Directives Codes, C++ Codes
Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies| |
---|
0 comments:
Post a Comment