First, I would like to point out that I am a novice programmer.
I am using visual studio because I like it.
I was writing a program where I was experimenting with user input into arrays, and for some unknown reason, I kept getting errors when trying to use a cin function to define an array. I shortened the code to the specific line that gave me the repeatable error.
using namespace std;
cin >> num;
// The size of the array is one int num; //array index starts from 0 since your size is one you can only have index 0 cin >> num;