- 博客(3)
- 收藏
- 关注
转载 The Biggest Changes in C++11 (and Why You Should Care)
It’s been 13 years since the first iteration of the C++ language. Danny Kalev, a former member of the C++ standards committee, explains how the programming language has been improved and how it can
2013-04-26 09:36:18 768
原创 《effective C++》 目录
改变旧有的c习惯(shifting from c to c++) 013条款1:尽量以 const 和 inline 取代 #define 013prefer const and inline to #define.条款2:尽量以 [iostream] 取代 [stdio.h] 017prefer [iostream] to [stdio.h].条款3:尽量以 new 和 de
2013-04-25 18:59:02 883
原创 临时变量的属性均为const
在重温《effective C++》的时候,pick up的一个知识。#include using namespace std;class retional {public: retional(int num=0, int den=1):num(num),den(den){} int numerator() const; int denminator() co
2013-04-25 15:52:06 773
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人