c3867 and c2109

this code gives a c3867 and c2109 errors. can anyone tell me what could be done to sort that out..?
Player is my class and cplayer[] is its object, it has getscore as a function.
1
2
3
4
5
6
7
void showscoreboard(Player cplayer[],int size, int cround)
	{
		cout << "		|"<< cplayer[0].getname() << endl
			 << "round1 |       "<< cplayer[0].getscore[cround]<< endl
			 << "round2 |       "<< cplayer[0].getscore[cround]<< "endl
			 << "round3 |        "<< cplayer[0].getscore[cround] << endl;
	} 

function call
 
finalscore.showscoreboard(player,num_players,round);
Look at the code highlight. You have stray " at the end of line 5
Topic archived. No new replies allowed.