問題:
How to append text to a text file in C++?如何將文本附加到 C++ 中的文本文件? And create a new text file if it does not already exist and append text to it if it does exist.如果尚不存在,則創建一個新文本文件,如果存在,則將文本附加到其中。
解決方案:
參考一: https://en.stackoom.com/question/A2cL參考二: https://stackoom.com/question/A2cL