首页 › 答案 › 题库 › 远程教育 › 联大学堂

简述读写文本文件的基本步骤。

简述读写文本文件的基本步骤。
正确答案:①导入输入/输出包;②创建文件对象;③创建读出/写入操作的对象;④数据文件的读/写操作;⑤关闭文件。