This repository provides you perfect file setup for competitive programming.
- Fork the Repo
- Clone the Repo to your local system.
- Configure the view as in the Screenshot, using the
View
tab in VS Code - Copy the content of template.cpp file and insert it as your default C++ code snippet.
-
Go to this link.
-
Type/Paste the default code you want to use the snippet for. Enter the trigger and description.
-
Copy the generated snippet onto clipboard.
-
Head to VSC. Press ctr + shift + p .Type configure user snippets.
-
Select your desired language(C++ in your case).
-
Replace the comments with the snippet in your clipboard.
-
Save and exit. Now try to type the trigger text. You will see the snippet ready!