Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Learn C++ and git

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 💙


📂 Repository Structure

📦 learn-cpp
 ┣ 📁 basics
 ┣ 📁 functions
 ┣ 📁 oop
 ┣ 📁 data-structures
 ┗ 📄 README.md

Each folder focuses on a specific C++ topic and contains examples and exercises.


🧠 Who Is This For?

  • Beginners learning C++
  • Students practicing programming
  • Anyone who wants to contribute examples or improvements

🍴 How to Contribute

1️⃣ Fork the Repository

  1. Click the Fork button (top-right of this page)
  2. This creates a copy of the repository under your GitHub account

2️⃣ Clone Your Fork

Open your terminal and run:

git clone https://github.com/YOUR-USERNAME/learn-cpp.git

Then move into the project folder:

cd learn-cpp

3️⃣ Create a New Branch

Always create a new branch before making changes:

git switch -c branch-name

Example:

git switch -c branch-name

4️⃣ Make Your Changes

  • Add new .cpp files
  • Improve existing examples
  • Fix errors or add comments

Please keep code simple and beginner-friendly.


5️⃣ Commit Your Changes

git add .
git commit -m "Add basic loop examples"

6️⃣ Push to Your Fork

git push -u origin branch-name

7️⃣ Create a Pull Request (PR)

  1. Go to your fork on GitHub
  2. Click Compare & Pull Request
  3. Add a clear title and description
  4. Submit the pull request 🎉

Your contribution will be reviewed and merged if approved.


🔄 Keeping Your Fork Updated

Add the original repository as upstream:

git remote add upstream https://github.com/ORIGINAL-OWNER/learn-cpp.git

Fetch updates:

git fetch upstream

Merge updates into your local branch:

git merge upstream/main

📌 Contribution Guidelines

  • Use clear filenames and comments
  • Avoid advanced concepts without explanation
  • One topic per pull request
  • Be respectful and supportive

🛠 Requirements

  • Any C++ compiler (GCC, Clang, MSVC)
  • Basic knowledge of Git & GitHub

⭐ Support the Project

If this repo helped you:

  • ⭐ Star the repository
  • 🍴 Fork it
  • 🤝 Contribute examples

Happy coding! 🚀

About

This repository is an open, beginner-friendly space for learning and practicing C++ through examples, exercises, and community contributions.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages