1、使用CTime類. #include "afx.h"void main(){ CString str; //獲取系統時間CTime tm; tm=CTime::GetCurrentTime(); str=tm.Format("現在時間是%Y ...
確定! 回上一頁