Newbie question about arrays



I don't even know if this mail reaches the mailing list since this is the
first time I write to it :o)

I'm a very newbie to C and GTk. I have created a clist and by default I
already know how to append data to it:

gchar *str[2][2] = {{"something"},{"something else"}}; etc.

But how do I initialize an array in the beginning of the function and later
on append data to it (like in a while-loop)?

Or is there any other way to append data to a clist rather that
gtk_clist_append...?

Best regards
Chris Hansen





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