Since C++11 you could use std::put_time from iomanip header: #include <iostream> #include <iomanip> #include <ctime> int main() { auto t ...
確定! 回上一頁