|
Re: read integers from file into an array
I'm sorry.....I am so lost....do I need lines 10-13? and where would I place the
int max = [-1000];
int i = [0];
while( inFile >> myArray[i])
{
if( myArray[i] > max)
max = myArray[i];
++i;
}
also what is the code tags?
Last edited by Ancient Dragon; Dec 4th, 2007 at 5:10 PM.
Reason: Third time I added code tags
|