[C++]C++中的時間[2]

[入库:2005年8月19日] [更新:2007年3月24日]

本文简介:选择自 bgu 的 blog

     //宏定義:__date____time____file____line__,表示在代碼編譯時的信息。

     string datecode = __date__;      //文件編譯時的日期。

     string timecode = __time__;      //文件編譯時的時間。

 

     cout<<"creat the software of date:"<<datecode<<endl;

     cout<<"creat the software of time:"<<timecode<<endl;

 

本文关键:[C++]C++中的時間
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top