3.14 ([info]314) wrote on May 3rd, 2006 at 02:49 pm
"int summa;" nav piešķirta sākotnējā vērtība, tāpēc tur atrodas kaut kāds skaitlis (miskaste). Var darīt apmēram tā:

...
while (!IN.eof()) {
amount = 0;
...
 
( Read comments )
Post a comment in response:
From:
( )Anonymous- this user has disabled anonymous posting.
Username:
Password:
Subject:
No HTML allowed in subject
  
Message:

Notice! This user has turned on the option that logs your IP address when posting.