?? ch10_1.cpp
字號:
//**********************
//** ch10_1.cpp **
//**********************
#include <iostream.h>
struct Weather
{
double temp; //溫度
double wind; //風力
};
void main()
{
Weather today;
today.temp=30.5; //作為左值使用
today.wind=10.1;
cout <<"Temp=" <<today.temp <<endl; //作為右值使用
cout <<"Wind=" <<today.wind <<endl;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -