title: how to read data from different cells of Excel (csv) file in C++..?
body: <pre><code>#include&lt;iostream&gt;
  #include&lt;fstream&gt;
  using namespace std;
  int main()
  {
      string a1[100];
      string a2[100];
      string a3[100];
      ifstream in;
      ofstream out;
      out.open("E:\\abc.csv");
      out &lt;&lt; "dcsdc,dcdcdc,dcsdc" &lt;&lt; endl;
      out &lt;&lt; "dcsdc,sdcsdc,sdcdc" &lt;&lt; endl;
      in.open("E:\\abc.csv");
      /*
          Read from different cells
      */
  
  
  }
  </code></pre>
  
  <p>I dont know what to write to read data from three different cells and store them in a1, a2, a3.</p>
  
  <p>For .csv file ' , '(comma) is the delimiter.</p>