新手求教简单程序错哪儿了
#include<iostream>using namespace std;
int Array();
int main()
{
Array();
return 0;
}
int Array()
{
int a[5];
cout<<"please input an array A,five numbers in total:\n";
for (int i=0;i<5;i++)
{
cin>>a[i];
}
cout<<"the numbers in the array are:\n";
for (i=0;i<5;i++)
{
cout<<"a["<<i<<"]="<<a[i]<<endl;
}
return 0;
}
错误提示: fatal error C1083: Cannot open compiler intermediate file: 'W:\userTemp\a00580ex': No such file or directory
面对这么多恶心人的英文,我觉得我学习C++没有希望了。