Re: Using GTK+ from C++



mulgund sandeep adlittle com writes:

Is it possible to use GTK+ (i.e., the conventional C bindings) from within
a C++ program in Linux?  Would it work to do something like:

extern "C" {
     #include <gtk/gtk.h>
}

The GTK headers already contain the extern "C", so you can just use
them from C++, there's no problem.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]