G
Guest
Class S contains a pointer to class main
Class main contains and instance of class
I therefore include a forward reference in S of main
The catch is I want to call a method in main from s and if I do this I get an erro
use of undefined type 'Main'
So how can I call a method in main from S and if I cant whats the point in being able to store a pointer to it?
Class main contains and instance of class
I therefore include a forward reference in S of main
The catch is I want to call a method in main from s and if I do this I get an erro
use of undefined type 'Main'
So how can I call a method in main from S and if I cant whats the point in being able to store a pointer to it?