The input line can be split using stringstream class
#include <sstream>
...
...
stringstream stream(line);
stream >> firstName >> lastName >> employeeID;
Last edited by Ancient Dragon; Dec 2nd, 2007 at 10:30 pm.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.