You can also use string display conversion to get the date and time: time_t now; struct tm * ts; char buf [80]; now = time (NULL); ts = localtime (& now); ...
確定! 回上一頁