Created
September 9, 2013 20:39
-
-
Save chergert/6501173 to your computer and use it in GitHub Desktop.
Snippets example for C in Builder.
This file contains hidden or 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
| 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