📄 表达式和语句.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 + -