#ifndef ERROR_MSG_H #define ERROR_MSG_H const char error_messages[][80]= { "Ok" , "Bad open of file. " , "What you think this is, Pong? " , "Incorrect data in file " , "There can be only ONE exit from the Labyrinth. " , "There can be only ONE Player. " , "There can be only ONE Minotaur. " }; enum err{ OK , BAD_OPEN , BAD_FORMAT_VERSION , INCORRECT_DATA_IN_FILE , TOO_MANY_EXITS , TOO_MANY_PLAYERS , TOO_MANY_MINOTAURS }; const char* select_error_message(enum err x); #endif