Skip to content

Commit 669bceb

Browse files
committed
Final Commit
1 parent 74cc91c commit 669bceb

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Competitve Programming Templates
2+
3+
### About
4+
5+
This repository provides you perfect file setup for competitive programming.
6+
7+
### Screenshots
8+
9+
<img src="Screenshots\Setup.JPG" width = '600px'></img>
10+
11+
### How to use?
12+
13+
1. Fork the Repo
14+
2. Clone the Repo to your local system.
15+
3. Configure the view as in the Screenshot, using the `View` tab in VS Code
16+
4. Copy the content of template.cpp file and insert it as your default C++ code snippet.
17+
18+
### How to add default templet as C++ Code Snippet in VS Code?
19+
20+
1. Go to this [link](https://snippet-generator.app/).
21+
22+
2. Type/Paste the default code you want to use the snippet for. Enter the trigger and description.
23+
24+
3. Copy the generated snippet onto clipboard.
25+
26+
4. Head to VSC. Press ctr + shift + p .Type configure user snippets.
27+
28+
5. Select your desired language(C++ in your case).
29+
30+
6. Replace the comments with the snippet in your clipboard.
31+
32+
7. Save and exit. Now try to type the trigger text. You will see the snippet ready!

Screenshots/Setup.JPG

160 KB
Loading

template.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
#############################################
3-
Author: Siddharth Mishra
4-
GitHub: https://github.com/Hard-Coder05
3+
Author: <Enter your name here>
4+
GitHub: <Enter your GitHub Profile link here>
55
#############################################
66
*/
77
#include <bits/stdc++.h>

0 commit comments

Comments
 (0)