随笔分类 -  c++

工作笔记
摘要:1 #include <Windows.h> 2 #include <stdio.h> 3 struct tagCONTAINING_RECORD 4 { 5 int a; 6 char b; 7 int c; 8 int d; 9 }; 10 // 使用 CONTAINING_RECORD 11 void test(char* cb) 12 { 13 tagCONTAINING_RECORD * 阅读全文
posted @ 2019-08-15 19:06 leochan007 阅读(219) 评论(0) 推荐(0)
摘要:MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 _WinMain@16 产生这个问题的真正原因是c++语言运行时找不到适当的程序入口函数,一般情况下,如果是windows程序,那么WinMain是入口函数,在VS2010中新建项目为“win32 阅读全文
posted @ 2019-03-25 14:10 leochan007
摘要:VisualGDBpjbd.rar https://download.csdn.net/download/u014094429/10762497 // 获取工程路径 #include <stdio.h>#include <stdlib.h>#include <unistd.h>#define MAX 阅读全文
posted @ 2018-11-03 18:00 leochan007 阅读(109) 评论(0) 推荐(0)
摘要:这个方案暂时不行 阅读全文
posted @ 2018-10-03 15:25 leochan007 阅读(179) 评论(0) 推荐(0)
摘要:匹配数字 #include "stdafx.h" #include <regex> #include <string> #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { std::strin 阅读全文
posted @ 2018-01-05 17:55 leochan007 阅读(804) 评论(0) 推荐(0)
摘要:去到inno setup的根目录,Default.isl 这个文件拷贝一份移进 Languages 修改文件名 Chinese.isl 打开这个文件,然后替换如下内容,保存为asni文件 百度云下载地址: 链接:https://pan.baidu.com/s/1i46zPXV 密码:k34x 阅读全文
posted @ 2018-01-05 12:09 leochan007 阅读(4004) 评论(1) 推荐(1)
摘要:1 #include "stdafx.h" 2 3 4 #include<map> 5 #include<string> 6 #include<iostream> 7 using namespace std; 8 9 struct CmpByKeyLength { 10 bool operator( 阅读全文
posted @ 2017-12-29 16:54 leochan007 阅读(297) 评论(0) 推荐(0)