Return to Snippet

Revision: 7272
at July 16, 2008 18:43 by pckujawa


Initial Code
GString *myString = g_string_new("Starting string value");
// To print the string, often it is necessary to point to the gchar * str value:
print(myString->str);

Initial URL
http://library.gnome.org/devel/glib/stable/glib-Strings.html

Initial Description
The GNULib is included in GTK+.

Initial Title
Using GNULib's GString in C

Initial Tags
c

Initial Language
Other