Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Cpp Boilerplate CodeNew to Visual Studio Code? Get it now.
Cpp Boilerplate Code

Cpp Boilerplate Code

Rajorshi Ghosh

|
15,387 installs
| (2) | Free
A basic C++ starter template generator.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cpp Boilerplate Code

This extension provides the standard C++ boilerplate code for General usage.

Features

Type 'io' or 'al' in an C++ file and select the snippet from the auto suggestion dropdown to get the C++ boilerplate to get started quickly.

Snippets

  1. io
#include<iostream>
using namespace std;

int main()
{
    return 0;
}
  1. al
#include<iostream>
#include<algorithm>
using namespace std;

int main()
{
    return 0;
}

Installation

  1. Install Visual Studio Code 1.57.0 or higher
  2. Launch VS Code
  3. Launch the command palette by using Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Type in Install Extension and select 'Extensions : Install Extensions'
  5. Type Cpp Boilerplate Code
  6. Choose the extension from the drop down
  7. Reload Visual Studio Code

Release Notes

1.0.0

Initial release of Cpp Boilerplate Code.

Source

Github

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft