gtk-- & lists



    Sorry for sending this to the gtk list, but the gtk-- folks don''t
have a mailing list for gtk-- app developers.
    I am writing an app in Gtk--. I create a list in this app (
list<string> gl; ). When I do this, I get a "list undeclared (first use
of this function)" error. Here are the files I include:

#include <iostream>
#include <string>
#include <gtk--/button.h>
#include <gtk--/box.h>
#include <gtk--/main.h>
#include <gtk--/window.h>
#include <gtk--/list.h>
#include <gtk--/combo.h>

I compile it using:

g++ -Wall -g yo.cc -o yo `gtkmm-config --cflags --libs`

Any help would be much appreciated.

Thanks
Arun





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