• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
我是张洪铭我是熊博士
时光静好,与君同;细水长流,与君语
博客园    首页    新随笔    联系   管理    订阅  订阅
2018年8月3日
程序开始打印程序信息
摘要: void printSoftwareInfo(const char *programName, const char *date, const char *time){ char s_month[5]; int month, day, year; static const char month_na 阅读全文
posted @ 2018-08-03 14:26 我是张洪铭我是熊博士 阅读(187) 评论(0) 推荐(0)
获取本地时间 精确到毫秒
摘要: string GetSysUsecTimeHMS(){ char szBuf[256] = {0}; struct timeval tv; struct timezone tz; struct tm *p; gettimeofday(&tv, &tz); p = localtime(&tv.tv_s 阅读全文
posted @ 2018-08-03 14:00 我是张洪铭我是熊博士 阅读(1467) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3