Hello,
I am trying to access a variable from another class through another class but it is not returning its "instance"?
Example:
Class View
Class MainWindowCode:... V3D_Viewer viewer; ...
Class TestCode:... viewer* myView; myView = new viewer(); ...
I am new to c++ references and pointers,Code:... MainWindow window; window.myView->setBackgroundColor(WHITE); ...
can someone help me out?
thanks