bug1:
在定义print函数的时候,文件输出流没有定义成引用导致以下报错:

use of deleted function ‘std::basic_fstream<_CharT, _Traits>::basic_fstream(const std::basic_fstream<_CharT, _Traits>&) [with _CharT = char; _Traits = std::char_traits<char>]’

fix:
void print(Field aField, fstream )改为
void print(Field aField, fstream &)

相关文章:

  • 2021-10-06
  • 2021-10-24
  • 2021-05-23
  • 2021-12-01
  • 2021-06-13
  • 2021-08-27
  • 2021-08-15
  • 2022-12-23
猜你喜欢
  • 2021-08-24
  • 2021-12-08
  • 2022-12-23
  • 2021-12-21
  • 2021-10-11
  • 2021-05-21
  • 2022-12-23
相关资源
相似解决方案