- 博客(3)
- 资源 (5)
- 收藏
- 关注
原创 C++定时删除某个特定的进程
#include<iostream>#include<windows.h>#include<Tlhelp32.h>#include<string>#include<time.h>using namespace std;string getTime(){ time_t timep; time(&am...
2018-09-30 14:21:45 495
转载 c++获取当前系统时间并格式化输出
#include <string>#include <time.h>using namespace std;string getTime(){ time_t timep; time (&timep); char tmp[64]; strftime(tmp, sizeof(tmp), "%Y-%m-%d %H:%M:%S",...
2018-09-30 09:37:44 16066
原创 C/C++ sprintf 拼接 string注意点
#include<iostream>#include<string>#include<stdio.h>using namespace std;int main(){ char szPath[128] = {0}; string picName("123.jpg"); //sprintf(szPath, "/mnt...
2018-09-07 11:29:21 3586 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人