Beginner C++ question here!
I'd like to create a file called "numbers.txt" in onlinegdb, and then in my Main function I would like to open the file and read the data into an array of integers.
I'm not sure if this is possible, and if so, how could I get the file to open successfully? So far my program is running but it is telling me that the file could not be opened.