diff options
| author | jdhao <jdhao@hotmail.com> | 2021-06-18 00:17:30 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-06-18 00:23:18 +0800 |
| commit | b0af2ed2217c48e83b8fe05482f290cbd07cfe2d (patch) | |
| tree | ec5f2449ae3fe76f1173be6aed33e27b1b500cd5 /my_snippets/cpp.snippets | |
| parent | 35d878eeaf6c0d5cae610bcec75296dee58c5acf (diff) | |
Add cpp snippets
Diffstat (limited to 'my_snippets/cpp.snippets')
| -rw-r--r-- | my_snippets/cpp.snippets | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/my_snippets/cpp.snippets b/my_snippets/cpp.snippets new file mode 100644 index 0000000..f846244 --- /dev/null +++ b/my_snippets/cpp.snippets @@ -0,0 +1,21 @@ +snippet bare "barebone code template" +#include <iostream> +#include <vector> +#include <string> + +using std::cout; +using std::endl; +using std::vector; +using std::string; + + +int main() +{ + +} +endsnippet + +snippet icd "#include directive" b +#include <$1> +$0 +endsnippet |
