View Single Post
Old Feb 14th, 2007, 4:32 AM   #4
rwm
Professional Programmer
 
Join Date: Jan 2007
Location: Cape Town
Posts: 291
Rep Power: 2 rwm is on a distinguished road
something along the lines of:

ifstream in("myfile",ios::in);

char *ptr;

ptr = in.get(); //doesnt work because in.get() returns an integer

then i can do this:

GetToken(ptr,token);
rwm is offline   Reply With Quote