Problem with getting an array from a file
trying to load an array from a file into my program.
I have the ifstream inFile already declared as well as the array.
How would I go about reading in the array from the file?
I was thinking inFile >> myArray;?
Not sure if that will work or not.
have an array of std::strings and then use std::getline
Topic archived. No new replies allowed.