C++ 打印文件名, 行號,編譯日期和時間例子
/*********************************************************************************
Copyright (C), 1988-1999, drvivermonkey. Co., Ltd.
File name:
Author: Driver Monkey
Version:
Mail:[email protected]
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__<