C++编程->预定义宏

给出我写的一个函数:

//环境参数  预定义宏 void environment() {      cout << "__DATE__ = " << __DATE__ << endl;      cout << "__FILE__ = " << __FILE__ << endl;      cout << "__LINE__ = " << __LINE__ << endl;      cout << "__TIME__ = " << __TIME__ << endl;      cout << "__TIMESTAMP__ = " << __TIMESTAMP__ << endl; 	 }


你可能感兴趣的:(C++编程->预定义宏)