Advertisement
Guest User

Untitled

a guest
Jan 13th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #pragma once
  2. #include <string>
  3. #include <iostream>
  4. #include <fstream>
  5.  
  6.  
  7. using namespace std;
  8.  
  9. class Player
  10. {
  11. private:
  12.     string name;
  13.     int score;
  14.     string convert_for_save();
  15. public:
  16.     Player(string);
  17.     Player(string, int);
  18.     string get_name();
  19.     int get_score();
  20.     void save_player_to_file();
  21. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement