会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奋斗吧胡小新!
时不我待 我必前行
CnBlogs
Home
New Post
Contact
Admin
Subscription
2014年4月19日
c++ const指针和指向const对象的指针
1 #include 2 using namespace std; 3 int main() 4 { 5 int a1 = 1; 6 const int a2 = 2; 7 const int * p2 = &a2; //"自以为"指向const对象的指针, 可以指...
Read More
posted @ 2014-04-19 01:03 奋斗吧胡小新
Views(249)
Comments(0)
Diggs(0)
公告