View Single Post
Old 03-04-2005, 04:45 AM   #7 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
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.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote