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 · 1073 阅读 · 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 · 571 阅读 · 0 评论
分享