HH:mm:ss const std::string currentDateTime() { time_t now = time(0); struct ... std::put_time() (c++ 11)和strftime() (C)提供了許多格式化程序來輸出這些時間。
確定! 回上一頁