编程
文章平均质量分 54
ZGJ_ZY
行者无疆
展开
-
内联函数
原文地址:http://www.cnblogs.com/singa/archive/2008/09/24/1297821.html(1)什么是内联函数?内联函数是指那些定义在类体内的成员函数,即该函数的函数体放在类体内。(2)为什么要引入内联函数?当然,引入内联函数的主要目的是:解决程序中函数调用的效率问题。另外,前面我们讲到了宏,里面有这么一个例子:#define ABS转载 2014-11-11 10:41:14 · 569 阅读 · 0 评论 -
如何利用C/C++逐行读取txt文件中的字符串(可以顺便实现文本文件的复制)
原地址:http://blog.csdn.net/stpeace/article/details/12404925转载 2014-10-29 13:26:35 · 903 阅读 · 0 评论 -
c1xx : fatal error C1083: Cannot open source file: '..\..\..\..\Microsoft Visual Studio\VC98\MFC\SRC
VS210 编译程序时出现错误:c1xx : fatal error C1083: Cannot open source file: '..\..\..\..\Microsoft Visual Studio\VC98\MFC\SRC\APPMODUL.CPP': No such file or directory解决方法:原创 2014-11-03 13:16:58 · 4558 阅读 · 0 评论 -
#define用法集锦
源地址:http://blog.chinaunix.net/uid-22214341-id-397878.htmlDefinition:The #define DirectiveYou can use the #define directive to give a meaningful name to a constant in your program. The two form转载 2014-12-11 13:37:16 · 491 阅读 · 0 评论