Hi there! i am facing a problem when i call the overloaded constructor from the main function. For example:

Code:

Code:
const char* namesList[5]= {"Brad Shaw","Aimen Adams","Sal Dimitry","CristiAnreaz","Poala James"};

int idList[]={232,444,135,52,134};



Code:

Code:
void main()
{
   Team t(namesList,idList,5,"Team Blasters");
}



my constructor is:

Code:

Code:
Team::Team(char sNames_List[], int id_List[], int No_Of_Players, char* Name)
{
    


    for (int i=0; i<No_Of_Players; i++)
    {
        players[i].Set_Id(id_List[i]);
        players[i].Set_Name(Name);
        cout << players[i].Get_Name() << endl;
    }


}



it underlines the namesList in the main and says that no instance of constructor Team::Team matches the argument list