{"id":29538735,"url":"https://github.com/yagna123k/learn-cpp","last_synced_at":"2025-10-03T21:32:58.053Z","repository":{"id":304455654,"uuid":"1018837346","full_name":"Yagna123k/Learn-CPP","owner":"Yagna123k","description":"This repo contains c++ source files you can follow to learn","archived":false,"fork":false,"pushed_at":"2025-07-13T07:00:27.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-13T09:07:23.640Z","etag":null,"topics":["cpp","gcc-complier","vscode"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yagna123k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-13T06:39:24.000Z","updated_at":"2025-07-13T07:01:41.000Z","dependencies_parsed_at":"2025-07-13T09:19:31.917Z","dependency_job_id":null,"html_url":"https://github.com/Yagna123k/Learn-CPP","commit_stats":null,"previous_names":["yagna123k/learn-cpp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Yagna123k/Learn-CPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yagna123k%2FLearn-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yagna123k%2FLearn-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yagna123k%2FLearn-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yagna123k%2FLearn-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yagna123k","download_url":"https://codeload.github.com/Yagna123k/Learn-CPP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yagna123k%2FLearn-CPP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265567422,"owners_count":23789478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","gcc-complier","vscode"],"created_at":"2025-07-17T05:15:27.842Z","updated_at":"2025-10-03T21:32:52.999Z","avatar_url":"https://github.com/Yagna123k.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 Learn C++ by Examples\n\nWelcome to this repository! 👋\nThis is a personal documentation of my journey learning **C++**, where I’ve created multiple small files and programs to practice and understand the language.\n\nIf you’re starting with C++ or want to learn through practical examples, feel free to explore these files. You can clone this repository and try running them on your local machine.\n\n---\n\n## 🚀 Getting Started\n\n### 1️⃣ Install GCC (MinGW) for Windows\n\nTo compile and run C++ files, you’ll need a compiler. We’ll use **MinGW-w64**, which provides `g++`.\n\nFollow this official VS Code guide:\n👉 [Using GCC (MinGW) with VS Code](https://code.visualstudio.com/docs/cpp/config-mingw)\n\n**Quick steps:**\n\n* Download MinGW-w64 from [https://www.mingw-w64.org/downloads/](https://www.mingw-w64.org/downloads/)\n* Install it (select architecture `x86_64` and threads `posix` during setup).\n* Add the `bin` folder path (e.g., `C:\\Program Files\\mingw-w64\\...\\bin`) to your **Environment Variables** → `Path`.\n* Verify by running in terminal:\n\n  ```bash\n  g++ --version\n  ```\n\n---\n\n### 2️⃣ Set up VS Code for C++\n\n* Install VS Code from [https://code.visualstudio.com](https://code.visualstudio.com)\n* Install the C/C++ extension by Microsoft (`ms-vscode.cpptools`).\n* Open your folder in VS Code and start coding.\n\n---\n\n### 3️⃣ Run Your First Program\n\n* Create a file `hello.cpp`:\n\n  ```cpp\n  #include \u003ciostream\u003e\n  using namespace std;\n  int main() {\n      cout \u003c\u003c \"Hello, C++!\" \u003c\u003c endl;\n      return 0;\n  }\n  ```\n* Compile it:\n\n  ```bash\n  g++ hello.cpp -o hello\n  ```\n* Run it:\n\n  ```bash\n  ./hello\n  ```\n\n  (Use `hello.exe` on Windows PowerShell / CMD.)\n\n---\n\n## ✅ How to Use This Repository\n\n1. **Clone this repository**\n\n   ```bash\n   git clone https://github.com/Yagna123k/Learn-CPP.git\n   cd Learn-CPP\n   ```\n\n2. **Open in VS Code**\n\n   ```bash\n   code .\n   ```\n\n3. Pick any `.cpp` file, compile \u0026 run it. Modify the code to experiment.\n\n---\n\n## ⭐ Contributing\n\nIf you want to add more examples, feel free to open a pull request!\n\n---\n\n## 📬 Feedback\n\nIf you find this helpful, give it a ⭐ and share it with others who want to learn C++.\n\nHappy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyagna123k%2Flearn-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyagna123k%2Flearn-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyagna123k%2Flearn-cpp/lists"}