no wait that workded i got it. thanks for makin my brain work threw it
Type: Posts; User: Damienmc++keown
no wait that workded i got it. thanks for makin my brain work threw it
some type of of statement maybe with a variable to hold on to the largest one
max = 0;
large = 0;
prevnum = 3
prevnum = 7
prevnum = 20
if (max < prevnum)
max = prevnum;
YEAH thank you so much Jim that's exactly what it was.
what a stupid mistake.
Ok when i did that the it changed that random first quota number(4068584) to 0. so that is affecting it in some way
can anyone here figure out my problem in my code
it reads from a dat file containing this.
C. Moore 1000 1250
Dot Net 2000 2075
Hop Tuit 500 2873
Im new to c++ and have a question that i hope yall can help
basically my file opens a file then extracts a list of names and numbers
here is whats in the inputfile
C. Moore 1000 ...