I am able to load data from a file into a class vector.
I can not figure out how to filestream it out to a file at the end of my program (with a CLASS vector).
if ( !out_stream)
cout << "File could not be opened" << endl;
//PIPE OUT DATA...
for (int i = 0; i < record.size(); i++) (e1)
out_stream << (record[i]); (e2)
I am getting the following errors:
(e1) Comparing signed and unsigned values
(e2) 'operator<<' not implemented in type 'ofstream' for arguments of type 'Apartment' (Apartment is my class)