C
Christian Williamson
Can anyone tell me right off why the keywords "new class" are used in
the following code, rather than just "new"? Why the word "class"? I know
it's a keyword, but I thought all you needed was new and delete.
Thanks.
Gtk::Label *label = Gtk::manage(new class Gtk::Label("Hello"));
the following code, rather than just "new"? Why the word "class"? I know
it's a keyword, but I thought all you needed was new and delete.
Thanks.
Gtk::Label *label = Gtk::manage(new class Gtk::Label("Hello"));