1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "Control.h" #include "String.h" #include <iostream> class CheckBox : public Control { String str; bool status; public: void setDataDialog() override { std::cout << "Should be turned on? [0/1] "; std::cin >> status; } };