Hey guys I have a wee problem I need some help with.
How would I read in lines of text one at a time, keeping track of the line numbers, only stopping when a line is read that contains only a single full-stop.
It is a briskly blowing wind that blows
from the north, the North of my youth.
The wind is cold too, colder than the
winds of yesteryear.
I cant figure out a way of seperating the input into different lines e.g line1 = "It is a briskly blowing wind that blows" as I need to use each line later in the full problem.