Skip to content

Instantly share code, notes, and snippets.

@chergert
Created September 9, 2013 20:39
Show Gist options
  • Select an option

  • Save chergert/6501173 to your computer and use it in GitHub Desktop.

Select an option

Save chergert/6501173 to your computer and use it in GitHub Desktop.
Snippets example for C in Builder.
snippet for
for (${1}; ${2}; ${3}) {
$0
}
snippet while
while (${1}) {
$0
}
snippet if
if (${1:condition}) {
$0
}
snippet do
do {
$0
} while (${1:condition});
snippet Win
GtkWidget *${1:window} = gtk_window_new (GTK_WINDOW_TOPLEVEL);$0
snippet inc
#include <${1:stdio.h}>$0
snippet co
/*
* $0
*/
snippet return
return $0
snippet gint
gint $0
snippet gdouble
gdouble $0
snippet gboolean
gboolean $0
snippet gchar
gchar $0
snippet static
static
snippet void
void
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment