由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - A C++ Question
相关主题
C++ output format problemC++ Strategies and Tactics 书上一个问题求助
predictive analysis只能用来prediction吧?C++里面
two c++ interview questions! (转载)C++ 弱问一个
A try-catch problem in C++C++疑问
a simple question for C++ classc++ 是否也有class method??
ask a C++ inheritance question请教一个作用域的问题
关于文件读取的C++ 问题?c++ 得最基本问题
关于C++中一个Class的大小 (转载)问个简单的memory allocation 的问题。
相关话题的讨论汇总
话题: c++话题: question话题: int话题: output话题: why
进入Programming版参与讨论
1 (共1页)
a****g
发帖数: 62
1
int main()
{
int a=1;
cout< return 0;
}
Can you predict the output? And why?
k****f
发帖数: 3794
2
又来月经贴。
jhq有说明的。基本上不可预测。看编译器自己高兴怎么做的

【在 a****g 的大作中提到】
: int main()
: {
: int a=1;
: cout<: return 0;
: }
: Can you predict the output? And why?

D****g
发帖数: 2860
3
what's the point, anyway?

【在 a****g 的大作中提到】
: int main()
: {
: int a=1;
: cout<: return 0;
: }
: Can you predict the output? And why?

a****g
发帖数: 62
4
Sorry, I didn't know it's 月经贴. I just came across this one when reading
books...

【在 k****f 的大作中提到】
: 又来月经贴。
: jhq有说明的。基本上不可预测。看编译器自己高兴怎么做的

S****t
发帖数: 1186
5
then it's time to trash the book you are reading

【在 a****g 的大作中提到】
: Sorry, I didn't know it's 月经贴. I just came across this one when reading
: books...

n********r
发帖数: 65
6
why it's predictable,
I use gcc and the output is
1 2 3

【在 k****f 的大作中提到】
: 又来月经贴。
: jhq有说明的。基本上不可预测。看编译器自己高兴怎么做的

t****t
发帖数: 6806
7
please read 精华区.

【在 n********r 的大作中提到】
: why it's predictable,
: I use gcc and the output is
: 1 2 3

W*******o
发帖数: 301
8
VC++ 6: 1, 1, 1
1 (共1页)
进入Programming版参与讨论
相关主题
问个简单的memory allocation 的问题。a simple question for C++ class
[合集] 关于C++ default copy constructorask a C++ inheritance question
C++小程序查错关于文件读取的C++ 问题?
[合集] C++问题(copy constructor)关于C++中一个Class的大小 (转载)
C++ output format problemC++ Strategies and Tactics 书上一个问题求助
predictive analysis只能用来prediction吧?C++里面
two c++ interview questions! (转载)C++ 弱问一个
A try-catch problem in C++C++疑问
相关话题的讨论汇总
话题: c++话题: question话题: int话题: output话题: why