搜索
编程论坛
→
开发语言
→
C++论坛
→
『 C++教室 』
→ 怎么换个行输出就不一样了啊?
标题:
怎么换个行输出就不一样了啊?
取消只看楼主
birdfling
等 级:
新手上路
帖 子:21
专家分:0
注 册:2006-4-1
楼主
问题点数:0 回复次数:0
怎么换个行输出就不一样了啊?
#include<iostream>
using namespace std;
int main()
{
int a,b;
a=9;
b=10;
cout<<a++<<endl<<" "<<++a<<" "<<a<<endl;
cout<<a<<endl;
cout<<b--<<" "<<--b<<" "<<b<<endl;
cout<<b<<endl;
return 0;
}
高手请指导一下了!
搜索更多相关主题的帖子:
输出
2006-04-13 14:00
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-57261-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 1.301514 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved