Simple question about classes declaration.
Feb 23, 2016 at 1:50am
Good evening!
Please, look at the following code:
1 2 3
|
int main( ) {
QExample::example( );
}
|
I believe QExample is the class and "example( )" is a mehtod from that class. Right?
But, now:
1 2 3
|
int main( ) {
Gtk::Window window;
}
|
"Gtk" is a class, and "Window"?
Feb 23, 2016 at 1:57am
Gtk is probably a namespace.
Topic archived. No new replies allowed.