Re: [Tutor] (no subject)

2010-05-11 Thread ramya natarajan
I really thank you all for the quick response, It was really helpful!! On Tue, May 11, 2010 at 7:28 PM, Dave Angel wrote: > (1. Please don't top-post. It gets everything out of sequence, and is the > wrong convention for this forum > 2. Be sure and do a reply-all, so that the message goes to

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

2010-05-11 Thread ramya natarajan
Hello, I am very beginner to programming, I got task to Write a loop that reads each line of a file and counts the number of lines that are read until the total length of the lines is 1,000 characters. I have to read lines from files exactly upto 1000 characters. Here is my code: I created fil