all i can do is get each line at a time....
how can i read it to only read till the space....
plz help.... heres my lil bit of code
while (getline(iofile,line))
{
cout << line << endl;
}
plz i know i can use this aswell for line by line
while (!iofile.fail())
{
getline(iofile,line)
cout << line << endl;
}
thanx in advanced