![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Snipping
gwzz1228
这个作者很懒,什么都没留下…
展开
-
C++获取本机时间的方法
方法一: SYSTEMTIME st; GetLocalTime(&st); 方法二: // asdfasdf.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include #include int _tmain(int argc, _TCHAR* argv[]) { time原创 2012-08-14 15:20:27 · 1219 阅读 · 0 评论 -
vs2010编译错误之一
现象: 1>------ Build started: Project: testCryptoPP, Configuration: Debug Win32 ------ 1>Build started 2013/10/10 14:52:44. 1>InitializeBuildStatus: 1> Touching "Debug\testCryptoPP.unsuccessfulbuil原创 2013-10-10 15:01:06 · 6338 阅读 · 0 评论 -
实现dump文件的方法(代码)
1、获得dump文件 #include "stdafx.h" #include #pragma comment(lib, "DbgHelp.lib") #include using namespace std; LONG WINAPI ExceptionFilterFunc( struct _EXCEPTION_POINTERS *ExceptionInfo ) { std原创 2013-11-04 21:34:41 · 1145 阅读 · 0 评论 -
ftp代码
BOOL bRes; HINTERNET hInternet; HINTERNET hConnect; hInternet = InternetOpen("A3GS Sample", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, INTERNET_FL转载 2014-02-25 16:46:33 · 942 阅读 · 0 评论 -
SQL操作 - 插入时更新数据
1.使用REPLACE INTO,举例: replace into clients (md5, timestamp) values ('15B2C797C9EF2037A540AE9691179E55', 1473325674); 说明:表clients中,md5被设置为unique。replace表示在表clients中设置md5和timestamp项的数据。原创 2016-09-09 10:18:28 · 859 阅读 · 0 评论