Reading postal address using cout
I have a text file addresses.txt which contains a postal address as a single record
i.e
Quote:
24 Church Street McClerance Close California 5084 .. record 1
.................................................. ................................. record 2
24 Church street is to be read to variable line1
McClerance Close is to be read to variable line2
California is to be read to variable city
5084 is to be read to variable zip
How do i read this at once to all these variables?