Writing a string to the end of a file (C++)

后端 未结 4 2217
逝去的感伤
逝去的感伤 2021-02-12 16:06

I have a program already formed that has a string that I want to stream to the end of an existing text file. All of what little I have is this: (C++)

 void main(         


        
4条回答
  •  醉话见心
    2021-02-12 16:31

    Open your stream as append, new text written to it will be written at the end of the file.

提交回复
热议问题