Improved main-snippet.

This commit is contained in:
tastytea 2019-10-08 15:45:12 +02:00
parent fe68072138
commit 0e6c527d24
2 changed files with 7 additions and 1 deletions

5
snippets/c++-mode/io Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: io
# key: io
# --
#include <iostream>

View File

@ -4,6 +4,7 @@
# --
int main(${1:int argc, char *argv[]})
{
$0
${0:const vector<string> args(argv, argv + argc);}
return 0;
}