Re: Bug in GLib, libglade, libc??



On Tue, 15 Aug 2006 00:57:06 -0300
Fabricio Rocha <rocha_fabricio yahoo com br> wrote:

      I have a suspicion from my lack of practice in C: a module of
my program uses a structured type which must contain, as its last
member, a dynamic list of strings, i.e., pointers to gchars (**list).
Sometimes I need to fill only the first string, and sometimes I will
need more than ...

Hi Fabricio.

Why don't you leave the administration of that list to GList? Check it
out. it is part of glib and very simple to use! And you can add as many
strings as you like, too.

John




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