会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
西北逍遥
每一个不能早起的日子,都是对生命的浪费!
博客园
首页
新随笔
联系
订阅
管理
2018年9月6日
C++获取时间并命名为文件名
摘要: #include <time.h> char pStrPath1[20];time_t currTime;struct tm *mt;Mat saveImg1; currTime = time(NULL);mt = localtime(&currTime);/*根据日期生成文件名*/sprintf(
阅读全文
posted @ 2018-09-06 17:16 西北逍遥
阅读(2955)
评论(0)
推荐(0)
公告