摘要:
一、const1、const必须在定义时初始化const int bufSize=512;2、const对象默认为文件的局部变量const double *cptr;//const指定了cptr指针指定的对象二、const引用const int ival=1024;const int &refVal=ival; //okint &ref=ival; //error------------------------------------------------------------------------------------------------------类成员函数中c 阅读全文
posted @ 2012-10-26 14:48
Afraid
阅读(131)
评论(0)
推荐(0)

浙公网安备 33010602011771号