关于const
#include<iostream>using namespace std;
int main()
{
const int a=10;
int *p=&a;
cout<<*p<<endl;
system("pause");
}
表示编译不过,为啥,
2013-01-01 17:52
2013-01-01 18:55
好好学习,同进步!

2013-01-01 19:45
2013-01-02 19:27
2013-01-02 19:27
2013-01-04 09:17