Just a note : You pass an ostream to the ViewFile method, but never use it. You probably want to replace every cout in the ViewFile method with ostream, no ? (and you probably also want to pass the ostream to ShowInfo)
>> cause my last name is longer than the first. So I don't understand why this is happening.
Are you sure that FirstName contains a value ?
Main Topics
Browse All Topics





by: ammotroopPosted on 2007-11-10 at 08:02:52ID: 20256116
Also, I tried using .append to a string to see what would happen and the same thing happens as if I just used cout <<. Here is an image of what is happening.
shots.com/ v/20047410 9942415060 7
http://allyoucanupload.web