2008年12月27日
摘要: 看了"C++中const用法总结 ", 谈点新思路. 关于理解下面语句中的const:A. const char *pContent; B. char * const pContent; C. char const *pContent; D. const char* const pContent; 标准的助记方法是:沿着*号划一条线, 如果const位于*的左侧,则const就是用来修饰指针所指向... 阅读全文
posted @ 2008-12-27 14:39 vcfly 阅读(424) 评论(0) 推荐(0) 编辑