3.14 ([info]314) wrote on May 3rd, 2006 at 03:03 pm
Kā arī ciklu jāpārraksta apmēram šādi:

while (true) {
IN.getline(char_masivs,11);
if (IN.eof()) break;
.....
}

IN.eof() jāpārbauda pēc informācijas ielasīšanas, lai ar pēdējo rindiņu cikls nestrādātu 2 reizes.
 
( 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.