{"id":28168902,"url":"https://github.com/makcoder-2004/advanced-cpp-sheet","last_synced_at":"2025-08-20T23:07:44.981Z","repository":{"id":262517547,"uuid":"887505241","full_name":"MakCoder-2004/Advanced-Cpp-Sheet","owner":"MakCoder-2004","description":"The C++ Advanced Level Sheet repository provides practical examples to help developers master advanced C++ topics . With clear, concise code illustrations, it simplifies complex concepts, making it ideal for developers seeking to deepen their C++ knowledge through hands-on learning.","archived":false,"fork":false,"pushed_at":"2024-11-12T23:00:07.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T15:14:38.715Z","etag":null,"topics":["cpp"],"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/MakCoder-2004.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}},"created_at":"2024-11-12T21:02:47.000Z","updated_at":"2025-05-04T19:30:04.000Z","dependencies_parsed_at":"2024-11-12T21:46:20.244Z","dependency_job_id":null,"html_url":"https://github.com/MakCoder-2004/Advanced-Cpp-Sheet","commit_stats":null,"previous_names":["makcoder-2004/advanced-cpp-illustrative-sheet","makcoder-2004/advanced-cpp-sheet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MakCoder-2004/Advanced-Cpp-Sheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakCoder-2004%2FAdvanced-Cpp-Sheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakCoder-2004%2FAdvanced-Cpp-Sheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakCoder-2004%2FAdvanced-Cpp-Sheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakCoder-2004%2FAdvanced-Cpp-Sheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MakCoder-2004","download_url":"https://codeload.github.com/MakCoder-2004/Advanced-Cpp-Sheet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakCoder-2004%2FAdvanced-Cpp-Sheet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271400259,"owners_count":24752830,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"],"created_at":"2025-05-15T15:14:34.663Z","updated_at":"2025-08-20T23:07:44.976Z","avatar_url":"https://github.com/MakCoder-2004.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Advanced Level Illustrative Codes\n\nWelcome to the **C++ Advanced Level Illustrative Codes** repository! This repository contains a collection of well-explained examples and illustrations covering various advanced C++ concepts. Each example is designed to help you understand the functionality of each concept through practical code demonstrations.\n\n## Topics Covered\n\nThis repository includes the following advanced C++ topics:\n\n### **1. Ternary Operator**\n- **Description**: Learn how to use the ternary operator (`?:`) to simplify conditional statements and make your code more concise.\n- **Example**: An example is provided to showcase its use in decision-making.\n\n### **2. Validation**\n- **Description**: Examples demonstrating how to validate user input, handle invalid data, and ensure your program runs smoothly.\n\n### **3. Bitwise Operators**\n- **Description**: Explore the use of bitwise operators (`\u0026`, `|`, `^`, `~`, `\u003c\u003c`, `\u003e\u003e`) to manipulate data at the bit level.\n- **Examples**: Use cases for masking, toggling, and setting bits are included.\n\n### **4. Functions**\n- **Description**: Examples of both regular functions and advanced function features such as function overloading, default parameters, and recursion.\n\n### **5. Static Variable**\n- **Description**: Learn how to use `static` variables inside functions to retain values between function calls.\n- **Examples**: Demonstrates the difference between static and non-static variables.\n\n### **6. Printing \u0026 Formatting**\n- **Description**: Comprehensive examples of output formatting using manipulators like `std::setw`, `std::setprecision`, and others for neat and organized output.\n\n### **7. 2D Arrays**\n- **Description**: Illustrates how to declare, initialize, and manipulate 2D arrays.\n- **Examples**: Includes examples of iterating over arrays using loops.\n\n### **8. Passing by Reference / Passing by Value**\n- **Description**: Understand the differences between passing parameters by value and by reference.\n- **Examples**: Highlights when to use each method and its impact on program behavior and performance.\n\n### **9. Pointers**\n- **Description**: Detailed examples on the use of pointers, pointer arithmetic, and how pointers relate to arrays.\n- **Examples**: Covers null pointers and proper memory management techniques.\n\n### **10. Dynamic Memory Allocation**\n- **Description**: Learn how to use `new` and `delete` for dynamic memory allocation in C++.\n- **Examples**: Demonstrates the creation of dynamic arrays and proper memory management.\n\n### **11. Exception Handling**\n- **Description**: Understand how to handle runtime errors gracefully using `try`, `catch`, and `throw` blocks.\n- **Examples**: Includes examples of creating custom exceptions.\n\n### **12. Dealing with Strings**\n- **Description**: Examples of working with C++ strings (`std::string`) and character arrays.\n- **Examples**: String manipulation techniques like concatenation, comparison, and searching.\n\n### **13. Saving Data in Text Files**\n- **Description**: Learn how to read from and write to text files using file streams (`fstream`, `ifstream`, `ofstream`).\n- **Examples**: Demonstrates handling file input/output operations.\n\n### **14. Local Date Time**\n- **Description**: Examples of how to retrieve and format the current local date and time using the `chrono` library and other date/time functions.\n\n## Repository Structure\n\nEach topic is organized in a separate folder, containing:\n- **A detailed explanation** of the concept.\n- **One or more C++ code examples** illustrating the concept.\n\n## How to Use\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/your-username/cpp-advanced-illustrative-codes.git\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakcoder-2004%2Fadvanced-cpp-sheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakcoder-2004%2Fadvanced-cpp-sheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakcoder-2004%2Fadvanced-cpp-sheet/lists"}