#include "stdafx.h"
#include <iostream>
usingnamespace std;
int num[i]; // you're trying to create an array of i integers
// except i isn't initialized
int main(array<System::String ^> ^args)
{
for (int i = 0; i <5; i++)
{
cout<<"Enter in 5 numbers:";
cin>>num[i];
system("cls");
}
system("pause") ;
return 0;
}