GEP-Assignment1/RankManager.cpp
void RankManager::setOrUpdateScoreToFile(Player *player, std::string filename) {
	ofstream stream;

	stream.open(filename);
	stream << endl << player->getScoreFileContent() << endl;

	stream.close();
}
/* Given a file(filename), overrites the content with details from the player object*/
Given a file(filename), overrites the content with details from the player object
Given a file ( filename ) overrites the content with details from the player object
void RankManager::setOrUpdateScoreToFile(Player *player, std::string filename) {
	ofstream stream;
	stream.open(filename);
	stream << endl << player->getScoreFileContent() << endl;
	stream.close();
}
void RankManager :: setOrUpdateScoreToFile ( Player * player , std :: string filename ) { ofstream stream ; stream . open ( filename ) ; stream << endl << player -> getScoreFileContent ( ) << endl ; stream . close ( ) ; }
Given a file(filename), overrites the content with details from the player object
Given a file ( filename ) overrites the content with details from the player object