Posted By

pckujawa on 07/16/08


Tagged

String c


Versions (?)

Using GNULib's GString in C


 / Published in: Other
 

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

The GNULib is included in GTK+.

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

Report this snippet  

You need to login to post a comment.