![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
memeai
这个作者很懒,什么都没留下…
展开
-
得到日期,时分秒的方法
MFC: CTime time = CTime::GetCurrentTime(); CString m_strTime = time.Format(_T("%Y-%m-%d,%H%M:%S"));原创 2014-04-11 15:08:54 · 953 阅读 · 0 评论 -
strtok和strtok_r
strtok和strtok_r 原型:char *strtok(char *s, char *delim); 功能:分解字符串为一组字符串。s为要分解的字符串,delim为分隔符字符串。 说明:首次调用时,s指向要分解的字符串,之后再次调用要把s设成NULL。 strtok在s中查找包含在delim中的字符并用NULL('/0')来替换,直到找遍转载 2014-06-23 10:24:43 · 500 阅读 · 0 评论