View Single Post
Old Dec 4th, 2007, 4:52 PM   #7
Simplesouljah
Newbie
 
Join Date: Oct 2007
Posts: 28
Rep Power: 0 Simplesouljah is on a distinguished road
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
Simplesouljah is offline   Reply With Quote