>Printed where?
I assume the file. it would help a ton if we had the code to look at though,
and not just a loop with no variable declarations.
Thanks,
_|_|_|_|_| _| _|_|_|_|
_| _|_|_| _| _|_|_|
_| _| _| _|_|_| _|
_| _| _| _| _|
_| _| _| _|_|_|_| _|_|_|
Visit TDS for quality software and website production
http://tysdomain.com
msn: [EMAIL PROTECTED]
aim: st8amnd2005
skype: st8amnd127
----- Original Message -----
From: andrew clarke
To: [email protected]
Sent: Sunday, October 05, 2008 10:50 AM
Subject: Re: [c-prog] file output
On Sat 2008-10-04 20:14:54 UTC-0700, Paul David ([EMAIL PROTECTED]) wrote:
> ofile << highscores[i] << endl;
> ofile << names[i];
Did you intend to leave out the second "<< endl;" here?
> In this code numhighscores is an int, highscores is an array of ints,
> names is an array of strings, ofile is an ofstream from the fstream
> header file
In future please provide the full code.
> Why are the highscores printed but not the names?
Printed where?
__________ NOD32 3495 (20081004) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
[Non-text portions of this message have been removed]