I have struct in class and not know how to call variables from struct, please help ;)
#include using namespace std; class E { public:
You should define the struct out of the class like this:
#include using namespace std; struct X { int v; }; class E { public: X var; }; int main(){ E object; object.var.v=10; return 0; }