Qt Code:
//A.h class A { public: int quantity[8]; int m; } //B.h class B { public: void getquantity (); } //B.cpp void B::getquantity() { //how can I get access to quantity or any variables from A? when I try A::m- I get errors }To copy to clipboard, switch view to plain text mode
Bookmarks