C
Chad E. Dollins
I've got some trick input that I need help reading.
I am using iostream because it is still a holiday weekend and I'm not
trying to stress, but I have some input that looks like this.
2
1453
2123
3342
4234
5123
6511
6123
1234
1234
2345
3456
3456
7432
Where the first number indicates a number of cases followed by an unknown
number of lines, for n case seperated be a empty line.
My question is how can I use iostream to tell the diffrence between a read
on an empty line and the other. I'm not sure that this makes sense,
because by default iostream ignores white space.
--Chad
I am using iostream because it is still a holiday weekend and I'm not
trying to stress, but I have some input that looks like this.
2
1453
2123
3342
4234
5123
6511
6123
1234
1234
2345
3456
3456
7432
Where the first number indicates a number of cases followed by an unknown
number of lines, for n case seperated be a empty line.
My question is how can I use iostream to tell the diffrence between a read
on an empty line and the other. I'm not sure that this makes sense,
because by default iostream ignores white space.
--Chad