C++
reyesyang
事不宜迟,滴水穿石
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
关于 ++i*--i 问题自己的理解
#inclued "iostream"using namespace std;int main(){ int i=5; int result=++i*--i; cout return 0;}初看之下,++i=i+1=6;--i=i-1=5;所以result=5*6=30;但是程序运行之后的结果却是 result=2原创 2008-10-23 21:24:00 · 1334 阅读 · 2 评论 -
c++ arrow operator (->)
From C++ A Beginner’s Guide by Herbert Schildt Chapter8 page 34The definition as below:You can access an object either directly (as has been the case in all preceding examples), or by using a poin翻译 2010-04-05 12:06:00 · 1738 阅读 · 0 评论
分享