title: C++ : Formatting output text to .doc/.docx/.rtf (PART 2)
body: <p>In my previous post about output text format to doc/docx i had many answers. All said I need Microsoft Word Automate, but it's a pretty hard. On MSDN isn't any tutorial step by step about this.</p>
  
  <p>Maybe sb know many about this and can help me with that? (basic includes, commands etc.)</p>
  
  <p>I need tutorial step-by-step, because i'm newbie(that i said in the previous post ;p)</p>
  
  <p>Or maybe saving to .rtf file is easier? If yes maybe sb can say about that ? (i'm try to use it, with this code:</p>
  
  <pre><code>fstream file;
  
      file.open("try.rtf", ios::out | ios::app);
      if(file.good() == true)
      {
          file &lt;&lt; "{\rtf Hi!\par Give {\b money}.\par }";
          file.close();
      }
  </code></pre>
  
  <p>but it doesn't working (creating file, but text in the .rtf file:</p>
  
  <blockquote>
    <p>{ tf Hi!par Give {  money}.par }</p>
  </blockquote>
  
  <p>:( )</p>
  
  <p>So i don't know to do with this.)</p>
  
  <p>So if somebody know to use word automate/saving to rtf and can help me (step-by-step) write here, please!</p>