Name: Anonymous 2011-11-27 10:04
Hi,
is it a good practice to write this #def in cpp?
#define print(X) std::cout<<X<<std::endl
so that it can be used as:
print("what " << "ever" << " I " << "want");
btw.. how do I insert sniplet of code here?
is it a good practice to write this #def in cpp?
#define print(X) std::cout<<X<<std::endl
so that it can be used as:
print("what " << "ever" << " I " << "want");
btw.. how do I insert sniplet of code here?