A curated collection of C++ programs and projects — from basics to advanced — for students, enthusiasts, and developers learning or revisiting C++.
This repository contains a comprehensive set of C++ source code examples for foundational and intermediate topics, including data structures, OOP, file handling, and bank management systems. Designed for students and developers aiming to strengthen their understanding of C++ through real, executable examples.
It contains a variety of C++ projects and sample applications, each organized in its own subdirectory. The projects cover a range of topics from banking systems to attendance management and car-related systems, making this repository a helpful resource for learning and practicing C++ programming concepts.
CPP/
├── Account-Bank/ # Simple banking system simulation.
├── Attendance-Management/ # Tool for tracking and managing attendance records.
├── Car/ # Car-related management program.
├── Cars-Systems-Using-Data-Structure/ # Demonstrates data structures in a car management context.
├── Class-Result/ # Class result processing and management.
├── College-Registration/ # College student registration system.
├── Courses/ # Course management utilities.
├── Data-Structures-In-Structure/ # Illustrations of data structure usage.
├── Doctors-Appointment/ # Doctor appointment scheduling system.
├── Employees-Advanced/ # Employee management and HR tools.
├── Employees/ # Employee management.
├── Files/ # File handling utilities and demonstrations.
├── Grade-Book/ # Student grade management system.
├── Hotel-Management/ # Hotel and customer management application.
├── Inheritance/ # Demonstrations of object-oriented inheritance in C++.
├── Library-Management/ # Library and book management system.
├── Parking-Charges/ # Parking charge calculation tool.
├── Staff-Management/ # Staff record and management software.
├── String-Stream/ # Utilities for string and stream manipulation.
├── Student-Registration/ # Student registration processing.
├── Student-Result/ # Student result processing.
├── Student/ # Student processing.
├── docs/ # Repository banner.
├── LICENSE
└── README.md/
Each subdirectory typically contains:
main.cpp
or equivalent source files- Supporting headers (
.h
) and implementation files (.cpp
) - Project files for IDEs (such as
.cbp
for Code::Blocks) - Sample data files and binaries (where applicable)
-
Clone the Repository
git clone https://github.com/TareqAlKushari/CPP.git
-
Build & Run
-
Navigate to a project directory.
cd CPP/Account-Bank
-
Use your favorite C++ IDE (e.g., Code::Blocks, Visual Studio) or compile via terminal:
g++ main.cpp -o output
-
Run the executable:
./output
-
Some projects may require compilation of multiple source files or additional setup as described in their respective directories.
-
-
Dependencies
- All projects are written in standard C++.
- Some projects may include IDE-specific files, but code is portable to any standard C++ environment.
- Well-organized and modular examples ✔️
- Real-world use cases (e.g., Bank, ATM) ✔️
- Beginner-friendly with readable code ✔️
- Clean formatting & naming conventions ✔️
- Account-Bank
- Attendance-Management
- Car
- Cars-Systems-Using-Data-Structure
- Class-Result
- College-Registration
- Courses
- Data-Structures-In-Structure
- Doctors-Appointment
- Employees-Advanced
- Employees
- Files
- Grade-Book
- Hotel-Management
- Inheritance
- Library-Management
- Parking-Charges
- Staff-Management
- String-Stream
- Student-Registration
- Student-Result
- Student
- docs
- License
- README.md
Contributions, suggestions, or improvements are always welcome! Please open an issue or submit a pull request.
Tareq Al-Kushari GitHub • LinkedIn • Facebook • Instagram • X • Email • Portfolio Website
This project is open-source and available under the MIT License.
If you found this helpful, don't forget to star the repo and share it with others! ⭐