搜索
编程论坛
→
开发语言
→
C++论坛
→
『 C++教室 』
→ 奇怪的输出,求高手详解!
标题:
奇怪的输出,求高手详解!
取消只看楼主
zgxyz2008
等 级:
业余侠客
帖 子:67
专家分:202
注 册:2008-10-28
结帖率:
60%
楼主
已结贴
√
问题点数:20 回复次数:0
奇怪的输出,求高手详解!
代码如下:
#include "stdafx.h"
#include "iostream"
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int y=0;
cout<<++y<<" "<<++y<<" "<<++y<<" "<<y;
return 0;
}
vs2008平台下输出结果为 3 3 3 3
那位能解释下why?
搜索更多相关主题的帖子:
详解
输出
2010-10-04 20:00
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-321982-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 0.440235 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved