Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>PST CPPNew to Visual Studio Code? Get it now.
PST CPP

PST CPP

Ahmed Saied

|
77 installs
| (0) | Free
A collection of handy C++ code snippets for initializing a C++ program
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C++ Init Snippets

This extension provides a collection of handy C++ code snippets for initializing a C++ program.

Features

  • CPP Init: Inserts a basic C++ initialization with #include<iostream>, using namespace std;, and a placeholder for defining a function.

Usage

  1. Install the extension from the Visual Studio Code Marketplace.
  2. Open a new C++ file or existing C++ file in Visual Studio Code.
  3. Type the prefix cppinit and press Enter.
  4. Replace ${1:datatype} with the desired datatype and ${2:functionName} with the desired function name.
  5. Press Tab to navigate through the tab stops and complete your code.

Release Notes

1.0.0

Initial release of C++ Init Snippets extension.

License

This project is licensed under the MIT License.

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