file_07.cpp

来自「在c环境下的对数据结构进行讲解,包含有例题及答案」· C++ 代码 · 共 10 行

CPP
10
字号
//file_07.cpp
#include <fstream.h>
void main()
{ ofstream outfile("strdata.txt");
  outfile << "Use your vote.\n";
  outfile << "Use it wisely.\n";
  outfile << "Use it to make a better future for Scotland.\n";
  outfile << "I'll be with you on that.\n";
}

⌨️ 快捷键说明

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