title: Input and output from excel to cpp project
body: <p>I need to find a way to read and write to excel cells like fstream when u read/write into a text file. I tried using <code>&lt;fstream&gt;</code> but it only fills Cell A1 and maybe A2 if I use endl or \n. I would like to know if there is a way to access other cells so I can fill them with values to make a database for a project. Values like, Names, Telephones, Price, etc.</p>
  
  <pre><code>fstream file;
  file.open("file.csv", ios::out | ios::app | ios::in);
  if(!file.is_open())
  {
   cout &lt;&lt; "Error!\n";
  }
  else
  {
   file &lt;&lt; "Text1\nText2";
  }
  file.close();
  </code></pre>