#include "Control.h" #include "String.h" #include class Label : public Control { String str; public: void setDataDialog() override { std::cout << "Enter new label: "; char buffer[1024]; std::cin.getline(buffer, 1024); str = String(buffer); } };