Quote:
|
Originally Posted by letsC
Could we use vectors?
|
Try it, and se what happens.
Quote:
|
Originally Posted by letsC
If the input file has two blocks of data and the code is supposed to stop after reading the first block of data into the array, process it and then read the next block of data into the array. How do we implement that? There is one empty line between the two successive blocks of data.
|
Add a condition during the read process checking for your uniq delimiter, then take what ever action you think is propper when reaching it.