hey all, hope everyone is doing well

i don't quite understand why i'm getting the error mentioned in the subject line. here's the member function call and definition:
Code:
Player *p_batter=mf_lineup_getBatter();
//member function call and assignation
// . . . 
Player* Lineup::mf_lineup_getBatter()
{
	static int x=0;
	return (lineup[x]);
}
//defination, Player* is pointing to separate class instance
here's the error message:

:\MPROG\sandlot\game.cpp(24) : error C2065: 'mf_lineup_getBatter' : undeclared identifier
C:\MPROG\sandlot\game.cpp(24) : error C2440: 'initializing' : cannot convert from 'int' to 'class Player *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast


does my error have something to do with the array subscript?

thanks for your help