I have here a problem...
i have a notepad containing values such as:
I used getline() and used the delimiter comma to separate them and store it in line variable..
my problem is that how can i store the delimited strings from line variable to any different variables..
ex .tom should be stored in employee variable or a1001 should be stored in idnumber variables.
Here's my lacking code:
using namespace std;
cout<<"Unable to open file named"<<filename<<endl;
Please help me..