Those errors tell you a heck of a lot about what's happening. In this case its alluding to variable i...and telling you it isn't initialized. Look at the code, "int i;" You then try to evaluate i in your while(), but if there is no initial value of i how can it evaluate it?

November 5th, 2009, 02:31 PM

iank

i did that several times and then i got two errors so what should happen?