[Tutor] Help required to count no of lines that are until 1000 characters

Alan Gauld alan.gauld at btinternet.com
Wed May 12 09:35:12 CEST 2010


"Dave Angel" <davea at ieee.org> wrote

> But you have a serious bug in your code, that nobody in the first five 
> responses has addressed.  That while loop will loop over the first line 
> repeatedly, till it reaches or exceeds 1000, regardless of the length of 
> subsequent lines.  

Oooh, good catch, I completely missed that one! :-)

Alan G



More information about the Tutor mailing list