Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - MemSet
Search - MemSet - List

优化C++程序编译效率的实例
(1)自定义程序的入口
(2)合并区段
(3)不用调malloc,free等函数
(3)不用cout来输出,cin来输入
(4)如果调用了很多库函数如memset,stycpy等等
的话,请导入msvcrt.lib,不然编译器会在程序里面
导入静态库,这样的话程序就会大很多。。
(5)........
减少程序运行内存占用量可以调用

SetProcessWorkingSetSize(GetCurrentProcess(),-1,-1);


Date : 2009-02-10 Size : 5.67kb User : newviews
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.