Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 13-Practice-31.05.2022 / CheckBox.h
blob: b72089ca8b3c70e86e022ce926d6d9341f86f4b8 (plain) (blame)
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;
	}
};