我需要用c ++编写一个循环文件.程序必须在文件中写入行,当代码达到最大行数时,它必须覆盖文件开头的行.
任何人都有任何想法?
c++ file-io ofstream
c++ ×1
file-io ×1
ofstream ×1