Still nasty code. If he's only using the counter inside the for loop, should definitly be defined inside of it (assuming C++, and not C):
for ( int count = 0; count < 500; count++ )
Also, of course, the code in the strip's only going to print it 499 times. Think the teacher'll count 'em?
|