Copié el código en un archivo main.cpp. Y quedó así:
Código
#include<iostream> using namespace std; string MenssageArrival(unsigned int uInt_ID, string Str_Msg){ string retorno; return retorno; } class ServerDosGame{ public: ServerDosGame( unsigned int & NumberOfPlayers, unsigned int & uInt_StateGame, string (*FuncOfMsg)(unsigned int uInt_ID, string Str_Msg) ){ // hacer cosas } }; int main( int argc, char **argv ){ unsigned int uInt_NumberOfPlayers, uInt_StateGame; ServerDosGame *Server = new ServerDosGame(uInt_NumberOfPlayers, uInt_StateGame, MenssageArrival); return 0; }
Esto me compila bien. No hay ningún error, podés intentar compilarlo vos.
Y hacé lo siguiente: poné todas las clases y funciones que tengas en un solo archivo main.cpp. Si por casualidad estás usando diferentes namespaces quitalos.
Y si estás usando algún entorno de desarrollo y te genera archivos objeto ( archivos .o ) Borralos y volvé a compilar.
Postea los errores que tengas.