Created
March 16, 2020 11:08
-
-
Save imSrbh/660e036fec749bcd93712fafb9f65890 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ex‑compile.c | |
#include <glib.h> | |
int main(int argc, char∗∗ argv) { | |
GList∗ list = NULL; | |
list = g_list_append(list, "Hello world!"); | |
printf("The first item is '%s'\n", g_list_first(list)‑>data); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment