Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishkarshraj/cpp-reference
A complete list of C++ source codes including Data Structures and Algorithms helpful for interviews etc.
https://github.com/nishkarshraj/cpp-reference
algorithms cpp data-structures
Last synced: 3 months ago
JSON representation
A complete list of C++ source codes including Data Structures and Algorithms helpful for interviews etc.
- Host: GitHub
- URL: https://github.com/nishkarshraj/cpp-reference
- Owner: NishkarshRaj
- License: mit
- Created: 2019-10-27T05:56:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:16:51.000Z (about 1 year ago)
- Last Synced: 2024-05-02T04:20:04.529Z (9 months ago)
- Topics: algorithms, cpp, data-structures
- Language: C++
- Homepage: https://nishkarshraj.github.io/CPP-Reference/
- Size: 149 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C++ Handbook
# How to Collaborate:
1. Fork the repository to your own GitHub account.
2. Clone the repository to your local machine
```
$ git clone "https://www.github.com/{Username}/CPP-Reference.git"
```
where username is your GitHub account username.3. Create a branch where you can do your local work.
Never work on **master** branch as we do not allow master commits except by admins.
```
$ git branch {branchname}
$ git checkout branchname
```4. Do your work and stage your changes.
```
$ git add
```5. Commit you changes with a commit message containing your name, file(s) worked upon, changes added.
```
$ git commit -m "Name| files| Changes"
```6. Push changes to your forked repository
```
$ git push -u origin branchname
```# Synchronize forked repository with Upstream repository
1. Create upstream as our repository
```
$ git remote add upstream "https://www.github.com/NishkarshRaj/CPP-Reference.git"
```2. Fetch upstream changes in local machine
```
$ git fetch upstream
```3. Switch to master branch
```
$ git checkout master
```4. Merge changes in local machine
```
$ git merge upstream/master
```5. Push changes to your forked GitHub repository
```
$ git push -f origin master
```