?? aaa.cpp
字號(hào):
#include<iostream.h>
class sample
{
int n;
public:
// int n;
sample(){}
sample(int i){n=i;}
// sample square(sample){}
void display(){cout<<"n="<<n<<endl;}
private:
};
//sample square(sample x)
//{
// this -> n=x.n*x.n;
// return (*this);
//}
void main()
{
sample a(5),b;
a.display();
// b=square(a);
b.display();
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -