自己写的,因供参考 Viewing Advertisements by Category Prerequisites, Goals, and Outcomes Prerequisites: Students should have mastered the following prerequisite skills. Knowledge of STL vector - Basic use of the container C++ Class Specification - Produce C+
这上传的资源中包含一套我工作中常用的模板库,及不需要MFC支持的excel操作接口,导出函数调用栈(dump stack)接口,可以直接用VS2008运行TestCodeLib.sln来根据unit test来了解用法。 ⑴ 需求(requirements) 重量级的BOOST非常强大,但有时候项目中没有引入它,这时候我们需要自己的模板库。 BOOST is very powerful, but some projects have not include BOOST library. So
auto
话说C语言还处于K&R时代,也有auto a = 1;的写法。中文译过来叫自己主动变量。跟c++11的不同。C语言的auto a = 1;相当与 auto int a = 1;语句。 而C++11的auto是有着严格的类型推导出来的。曾经是这么写
int a = 1;
如今,编译器知道a是int型了。所以能够这么写
auto a = 1;
对于类型比?长的,如vector::iterator这类的,能少敲些字符了。
假设只这点作用。那么对编程实在没什