⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 表达式和语句.txt

📁 钱能主编 C++程序设计教程(第一版) 该书习题的答案代码
💻 TXT
字号:
//enter a 'b' to hear the bell
#include <iostream.h>
#include <conio.h>

void main()
{
	cout<<"please input the b key to hear a bell.\n";
	char ch = getche();
	if(ch=='b')
		cout<<'\a';
}

//求值顺序(与编译器有关)
#include <iostream.h>

void main()
{
	int a=3,b=5,c;
	c=a*b+ ++b;
	cout<<"c = "<<c<<endl;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -