Add fori snippet
This commit is contained in:
parent
e4abcfc8b1
commit
3cb79c1d9a
1 changed files with 9 additions and 0 deletions
9
snippets/c-mode/fori
Normal file
9
snippets/c-mode/fori
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: for with loop variable
|
||||
# key: fori
|
||||
# --
|
||||
int i = 0;
|
||||
|
||||
for (${1:i = 0}; ${2:i < N}; ${3:++i}) {
|
||||
$0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue