hi every one i want to ask that i want to compare two time values in c how can i do it time is in form
Sat Feb 19 12:53:39 2011
thanks
您需要解析经由人类可读的形式strptime()
并转换为一个time_t
-这是自1月1日,1970年的时期(无符号)整数秒作为该是一个数,通常的比较运算符适用。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.