Is it possible to read from a file into an istringstream.
I did this little program to write to a sequential file, but was wondering about random access files.
#include <cstdlib> // exit prototype
int main(int argc, char *argv)
//exit program if unable to create file
cerr << "File could not be opened"<<endl;
record << first_name<<" "<<last_name<<" "<<heightcm<<" "<<weightkg;
cout << record.str();