C++ 打印文件名, 行号,编译日期和时间例子

2015-01-27 10:18:42 · 作者: · 浏览: 13
/********************************************************************************* ?
?Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. ?
?File name: ??
?Author: Driver Monkey ?
?Version: ??
?Mail:bookworepeng@hotmail.com ?
?Date: 2014.04.02 ?
?Description: ??
?*********************************************************************************/ ?


#include 
  
   
#include 
   
     #include 
    
using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char** argv) { ?cout<<__LINE__<