- 博客(8)
- 资源 (3)
- 收藏
- 关注
转载 提高VS2010的运行速度:关闭IntelliTrace和拼写检查
原址任务管理器,CPU和内存都不高,为何vs2010卡的要命?原因就是VS2010不停地读硬盘导致的; 写代码2/3的时间都耗在卡上了,太难受了; 研究发现,VS2010如果你装了VC等语言,那么它就会自动装SQL Server2010的功能,用于智能化.并且在工程目录下产生了一个超大的数据库文件sdf,近百兆,太狠了.对了,就是关闭了它的自动识别功 能,VS2010速度快了5倍以上,
2016-06-24 10:53:57
2979
原创 STL容器的遍历删除操作erase
#include #include #include #include #include #include using namespace std;int main(){ //--- vector.remove_if vector v1; vector ::iterator Iter1, new_end; int i; for ( i = 0 ; i <= 9 ;
2016-06-24 09:51:35
429
原创 实现std::string的format函数
std::string string_format(const char* format, ...){#if 1 // 最大长度限制:1024 - 1 char buff[1024] = {0}; va_list args; va_start(args, format); vsprintf_s(buff, sizeof(buff), format, args); va_end(ar
2016-06-21 18:24:13
6487
转载 xdebug(32) : warning C4229: 使用了记时错误 : 忽略数据上的修饰符
原址错误代码:#include "stdafx.h"#include "Test_Banana.h"#include "Test_BananaDlg.h"#ifdef _DEBUG#define new DEBUG_NEW#endif#include 正确代码:#include "stdafx.h"#include "Test_Banana.h"#include "Test_Ban
2016-06-21 15:37:42
1500
转载 Difference between 'struct' and 'typedef struct' in C++?
Difference between 'struct' and 'typedef struct' in C++?
2016-06-20 15:19:12
636
原创 查询并删除回收站内容
Codes:////////////////////////////////////////////////////////////////////////////原文:http://hi.baidu.com/hypkb/blog/item/a35950238b2242a34623e8a5.html//查询并删除回收站内容//初始化SHQUERYRBINFO结构SHQUERYR
2009-09-27 18:40:00
1333
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人