C++文件读写代码分享

2020-01-06 13:19:37刘景俊

程序编译执行后输出如下结果

 

 
  1. $./a.out  Writing to the file 
  2. Enter your name: Zara  Enter your age: 9 
  3. Reading from the file  Zara 

以上所述就是本文的全部内容了,希望大家能够喜欢。