but this doesn't work.
when I do cout << temp1.get_firstname() I don't get the name I want .
Instead the first character is copied correctly , but the other 79 characters are a strange character ;
what is the problem ?
The names are not 80 character , they are usually 5 or 6 .
I can't use strings , because they have problems with binary files . thanks !