Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Config.h
- /*
- Contains global constants
- */
- #pragma once
- class Config
- {
- public:
- static int OUTPUT_TO_FILE;
- static int NEED_TO_TRAIN;
- static int NO_FILE_TRAIN;
- static int NEED_TO_TEST;
- static int BYPASS_EVERYTHING;
- static int GENERATE_TRAIN_DATA;
- };
- Config.cpp:
- #include "Config.h"
- int OUTPUT_TO_FILE = false;
- int NEED_TO_TRAIN = false;
- int NO_FILE_TRAIN = false;
- int NEED_TO_TEST = false;
- int BYPASS_EVERYTHING = false;
- int GENERATE_TRAIN_DATA = false;
- main.cpp:
- main(...)
- {
- ... //long method
- Config::NO_FILE_TRAIN = true;
- ... // lots more stuff
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement