I am having lots of trouble reading data from my input file and storing them in the proper arrays. Getline does not seem to be reading the values I want it to, and I am totally lost on file parsing. I really want to see an example of storing different data types in different arrays from an input file.
Ensure a file named "text.txt" or any file format you wish, is placed in the same directory as the cpp... View the full answer
Sign up to view the full answer
You can refer this example that is written in java in which two arrays is there first array will store the name in string... View the full answer