J
Joseph Wu
i have 3 classes,one is call "button" , "calculator" and
"calculatorwindow" ,in the main() function of "calculator" it init an
object/instance "window" to "calculator" and what it actually does is to
create an "calculatorwindow" object and then add lots of buttons
the problem is:how can i modify the attributes of the object "window"
within the definition code of class "button" ?
all the functions and attributes in those classes are not static,but the
functions are public and can be used to revise the private attributes
"calculatorwindow" ,in the main() function of "calculator" it init an
object/instance "window" to "calculator" and what it actually does is to
create an "calculatorwindow" object and then add lots of buttons
the problem is:how can i modify the attributes of the object "window"
within the definition code of class "button" ?
all the functions and attributes in those classes are not static,but the
functions are public and can be used to revise the private attributes