Trouble running a program Visual Studio

This is a discussion on Trouble running a program Visual Studio within the C++ Programming forums, part of the General Programming Boards category; Hi,
I'm learning FOR loops and have made this code:-
Code:
using namespace std;
int main()
{
int array1[2];
int ...