[cpp] Added iteration section.

This commit is contained in:
Aaron Broder 2012-08-28 09:44:24 -07:00
parent 6518bba15f
commit 260f24cccc

View File

@ -105,7 +105,9 @@ snippet readfile
fclose($2); fclose($2);
}${3} }${3}
# for i loop ##
## Iteration
# for i
snippet fori snippet fori
for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) { for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
${4:/* code */} ${4:/* code */}