摘要: 内容参考于://http://blog.csdn.net/eric_jo/article/details/4138548#include<iostream>#include<string>using namespace std;void f1(const int a,int b){ //a++; 参数是常量不可变 b++; cout<<a<<" "<<b<<endl;}void f2(const int *a,int *b){ //(*a)++; 指针所指的内容是常量不可变 (*b)++; cout&l 阅读全文
posted @ 2012-12-14 08:59 一把刷子 阅读(274) 评论(0) 推荐(0) 编辑