C++预定义的宏

// 
#include <iostream>

using namespace std;

int main () {
   cout << Value of __LINE__ :  << __LINE__ << endl;
   cout << Value of __FILE__ :  << __FILE__ << endl;
   cout << Value of __DATE__ :  << __DATE__ << endl;
   cout << Value of __TIME__ :  << __TIME__ << endl;

   return 0;
}

相关文章

#include <iostream> using namespace std; int mai...
#include <iostream> using namespace std; int mai...
// #include <iostream> using namespace std; int...
#include <iostream> #include <string> using...
#include <iostream> #include <cstring> usin...
#include <iostream> using namespace std; int mai...