Improved main-snippet.
This commit is contained in:
parent
fe68072138
commit
0e6c527d24
5
snippets/c++-mode/io
Normal file
5
snippets/c++-mode/io
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: io
|
||||||
|
# key: io
|
||||||
|
# --
|
||||||
|
#include <iostream>
|
|
@ -4,6 +4,7 @@
|
||||||
# --
|
# --
|
||||||
int main(${1:int argc, char *argv[]})
|
int main(${1:int argc, char *argv[]})
|
||||||
{
|
{
|
||||||
$0
|
${0:const vector<string> args(argv, argv + argc);}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user