read/update: Open a file for update (both for input and output). The file must exist.
“w+”
write/update: 创建新文件,如果已存在,则覆盖
“a+”
append/update: Open a file for update (both for input and output) with all output operations writing data at the end of the file. Repositioning operations (fseek, fsetpos, rewind) affects the next input operations, but output operations move the position back to the end of file. The file is created if it does not exist.