Good time of day you! Please, please what is wrong can be thys option so you can not? I want to know clearly.
D:\Classes\En3\En3.cpp|12|error: expected ';' before 's1'|Code:enum Ts {Nul, Odyn, Dva, Tru, Tsotyry} class A { public: Ts s1; private: void poklady(Ts s1) { this s1 = s1; } Ts daj() { return s1; } }; int main() { A a; return 0; }