Simple question about classes declaration.
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"?
Gtk is probably a namespace.
Topic archived. No new replies allowed.