I am trying to get a line from a file using the getin command however I am having some errors.
rooms.open("c:\\rooms\\rooms.txt",ios::in);
rooms.getline(rooms, room_num[4][3]);
rooms.close();
I initialized a two dimension array.....and I can write to the file but cant retrieve.
the error appears to be with this line
rooms.getline(rooms, room_num[4][3]);
can anyone help?