I am very new to C++ programming. I'm attempting to construct an array by inputting values from a text file and walking through it with a count. The text file is random size but no larger than 500 integers. I picked [3] in my array just to confirm that the file was being correctly read and input into my array. I thought that this code would compile, but I received an error message I am unfamiliar with:
"E:\collect2.exe [Error] ld returned 1 exit status"