diff options
| -rw-r--r-- | my_snippets/cpp.snippets | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/my_snippets/cpp.snippets b/my_snippets/cpp.snippets index 458006e..6fe8acb 100644 --- a/my_snippets/cpp.snippets +++ b/my_snippets/cpp.snippets @@ -134,6 +134,28 @@ endsnippet snippet sol "solution" w auto solution = Solution(); +$0 +endsnippet + +snippet for "for loop" w +for ($1; $2; $3){ + $4 +} +endsnippet + +snippet if "if condition" w +if ($1){ + $2 +} +$0 +endsnippet + +snippet ifelse "if else condition" +if ($1){ + $2 +}else{ + +} endsnippet snippet for "for loop" w |
