?? 7vi.cpp
字號(hào):
// PlotPoint () Plot the cosine of the angle parameter
// on a line across the screen
// IN: angle -- the angle in radians to be plotted
void PlotPoint (float angle)
{ int blanks, position;
position = cos (angle) * 35 + 35;
for (blanks=0; blanks<position; blanks=blanks+1)
cout << " ";
cout << "*" << endl;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -