.emacs.d/snippets/c++-mode/main
2019-10-14 00:42:10 +02:00

18 lines
249 B
Plaintext

# -*- mode: snippet -*-
# name: main
# key: main
# --
#include <string>
#include <vector>
using std::string;
using std::vector;
int main(${1:int argc, char *argv[]})
{
${2:const vector<string> args(argv, argv + argc);}
$0
return 0;
}