Welcome to Learn C++ Together! This repository is an open, beginner-friendly space for learning and practicing C++ and git through examples, exercises, and community contributions.
Whether you're just starting or brushing up your skills, everyone is welcome to learn and contribute 💙
📦 learn-cpp
┣ 📁 basics
┣ 📁 functions
┣ 📁 oop
┣ 📁 data-structures
┗ 📄 README.md
Each folder focuses on a specific C++ topic and contains examples and exercises.
- Beginners learning C++
- Students practicing programming
- Anyone who wants to contribute examples or improvements
- Click the Fork button (top-right of this page)
- This creates a copy of the repository under your GitHub account
Open your terminal and run:
git clone https://github.com/YOUR-USERNAME/learn-cpp.gitThen move into the project folder:
cd learn-cppAlways create a new branch before making changes:
git switch -c branch-nameExample:
git switch -c branch-name- Add new
.cppfiles - Improve existing examples
- Fix errors or add comments
Please keep code simple and beginner-friendly.
git add .
git commit -m "Add basic loop examples"git push -u origin branch-name- Go to your fork on GitHub
- Click Compare & Pull Request
- Add a clear title and description
- Submit the pull request 🎉
Your contribution will be reviewed and merged if approved.
Add the original repository as upstream:
git remote add upstream https://github.com/ORIGINAL-OWNER/learn-cpp.gitFetch updates:
git fetch upstreamMerge updates into your local branch:
git merge upstream/main- Use clear filenames and comments
- Avoid advanced concepts without explanation
- One topic per pull request
- Be respectful and supportive
- Any C++ compiler (GCC, Clang, MSVC)
- Basic knowledge of Git & GitHub
If this repo helped you:
- ⭐ Star the repository
- 🍴 Fork it
- 🤝 Contribute examples
Happy coding! 🚀