ch19_2.cpp

来自「如题为《C++程序设计教程》系列的部分辅助代码」· C++ 代码 · 共 18 行

CPP
18
字号
//**********************
//**    ch19_2.cpp    **
//**********************

#include<fstream.h>

void fn()
{
  ofstream myf("c:\\bctemp\\myname");    //ios::out|ios::trunc方式
  myf <<"In each of the following questions, a related pair\n"
      <<"of words or phrases is followed by five lettered pairs\n"
      <<"of words or phrases.\n";
}

void main()
{
  fn();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?