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