I don't get what this error mean in line 17 or 18..
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int players;
int years=3;
cout<<"Enter no. of players";
cin>>players;
int record[players][years];
for(int i=0; i<=players; i++)
{
for(int j=0; j<=years; j++)
cout<<"Enter runs scored by player"<<":"<<i+1<<": ";
cin>>record[i][j];
}
cout<<"\n\tYear1\tYear2\Year3";
cout<<"\n\tRuns\tRuns\Runs";
cout<<"\n*************************************"<<endl;
for(int i=0; i<=players; i++)
{
cout<<"\nPlayer"<<i+1<<"\t"<<endl;
for(int j=0; j<=years; j++)
cout<<record[i][j]<<"\t";
cout<<endl;
}
getch();
return 0;
}