3 int main(int argc, const char *argv[])
16 #include <${1:stdio}.h>${2}
19 #include "${1:`Filename("$1.h")`}"${2}
20 # #ifndef ... #define ... #endif
23 #define ${1:SYMBOL} ${2:value}
35 # Header Include-Guard
37 #ifndef ${1:`toupper(Filename('$1_H', 'UNTITLED_H'))`}
43 #endif /* end of include guard: $1 */
46 if (${1:/* condition */}) {
55 ${1:/* condition */} ? ${2:a} : ${3:b}
60 } while (${1:/* condition */});
63 while (${1:/* condition */}) {
68 for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
73 for (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) {
78 ${1:void} ${2:function_name}(${3})
82 # Function Declaration
84 ${1:void} ${2:function_name}(${3});${4}
87 typedef ${1:int} ${2:MyCustomType};${3}
90 struct ${1:`Filename('$1_t', 'name')`} {
92 }${3: /* optional variable list */};${4}
95 typedef struct ${2:_$1 }{
97 } ${1:`Filename('$1_t', 'name')`};
104 # unfortunately version this isn't as nice as TextMates's, given the lack of a
107 printf("${1:%s}\n"${2});${3}
108 # fprintf (again, this isn't as nice as TextMate's version, but it works)
110 fprintf(${1:stderr}, "${2:%s}\n"${3});${4}
111 # This is kind of convenient