title: Writing a string to the end of a file (C++)
body: <p>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++)</p>
  
  <pre><code> void main()
  {
     std::string str = "I am here";
     fileOUT &lt;&lt; str;
  }
  </code></pre>
  
  <p>I realize there is much to be added to this and I do apologize if it seems I am asking people to code for me, but I am completely lost because I have never done this type of programming before.</p>
  
  <p>I have attempted different methods that I have come across the internet, but this is the closest thing that works and is somewhat familiar.</p>