Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Trainer.h>
- int main(int argc, char* argv[])
- {
- // Only One Instance of Application
- if (Trainer::TrainerIsRun())
- {
- return 0;
- }
- Trainer trainer;
- if (!trainer.ChooseConfig())
- {
- return 1; // EXIT_FAILURE
- }
- // Waiting for Start a GAME...
- while (!trainer.GameIsRun())
- {
- Sleep(1000);
- }
- trainer.Start();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment