?? p14.cpp
字號:
#include <fstream.h>#include <stdlib.h>#include <process.h>void main() { ofstream outFile ("my.out"); if (! outFile ) { cout << "Cannot open my.out" << endl; exit(1); } int n = 50; float f = 20.3; outFile << "n:" << n << endl; outFile << "f:" << f << endl;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -