Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 730 Bytes

README.md

File metadata and controls

38 lines (33 loc) · 730 Bytes

algorithm

setting default snippet

  1. ctrl + shift + p
  2. Configure User Snippets
  3. select cpp.json
  4. copy and writing this code
{
  "cpp snippet": {
    "prefix": ">algorithm",
    "body": [
      "#include<iostream>",
      "#include<vector>",
      "#include<algorithm>",
      "#include<stack>",
      "#include<queue>",
      "",
      "using namespace std;",
      "typedef vector<int> vi;",
      "typedef deque<int> di;",
      "typedef stack<int> si;",
      "typedef queue<int> qi;",
      "",
      "int main() {",
      "",
      "    return 0;",
      "}"
    ],
    "description": "Log output to console"
  }
}