C++ How can I read each line in a text file into a separate vector?
Read in the file one line at a time, use the .Split method to split the input string into an array using the space as the splitter. Then you can loop through the array pulling out the values you need. Then read the next line.
No comments:
Post a Comment