With C++11, use to_string() . Try this if you want to have the time in a readable string: #include <ctime> std::time_t now = std::time(NULL); std::tm * ptm ...
確定! 回上一頁