Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef ENGINE_HPP
- #define ENGINE_HPP
- #include <map>
- class User;
- class Engine {
- protected:
- int limit;
- User* user;
- public:
- Engine(const std::string name, int limit);
- ~Engine();
- void run();
- };
- class User {
- protected:
- std::string name;
- int counter;
- public:
- std::map<int, std::string> foo;
- User(const std::string name);
- void inc();
- bool finished(int limit);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement