Skip to content

ahmedaldsoaky/Projects-Using_CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Projects Using C++

A collection of C++ projects showcasing fundamental programming skills, object-oriented design, and problem solving.


🧰 Included Projects

  • Bank Account Management System
    Implements features like account creation, deposit, withdrawal, and balance inquiry. Demonstrates file handling and class-based organization in C++.

  • First_Project
    A small practice project to apply basic C++ syntax, loops, and conditional statements. Good for reinforcing foundations.

  • Secound_Project (sic)
    Another practice / experimental project. (Rename β€œSecound” to β€œSecond” for correctness.)


πŸ“ Project Structure


Projects-Using\_CPP/
β”œβ”€β”€ Bank/
β”‚   β”œβ”€β”€ bank.cpp
β”‚   └── (other necessary files)
β”œβ”€β”€ First\_Project/
β”‚   └── (source files)
β”œβ”€β”€ Secound\_Project/
β”‚   └── (source files)
β”œβ”€β”€ README.md


πŸ§ͺ Example Use Cases & Behavior

These are some example behaviors you should see / test in the Bank Account Management System:

  • Creating a new account (e.g. enter account number, name).
  • Deposit money into an account and display updated balance.
  • Withdraw money (check for sufficient funds).
  • Query account balance.
  • Handling invalid inputs (e.g. wrong account number, negative amounts).

For the smaller practice projects, you might test loops, conditional branches, input/output prompts etc.


πŸ” Design Choices & Challenges

  • Use of classes to represent account(s) and encapsulate operations (deposit, withdraw, balance).
  • Implementation of file handling so data persists between runs (if applicable).
  • Dealing with user inputs: validating numeric inputs, rejecting invalid operations.
  • Managing organization across different projects within the same repo.

πŸ’‘ Potential Improvements

  • Standardize naming (fix β€œSecound_Project” β†’ β€œSecond_Project”).
  • Add unit tests for core functionality (e.g. deposit, withdraw).
  • Build a menu-based user interface to allow selecting operations dynamically.
  • Improve error handling (e.g. non-numeric, overflow, negative values).
  • Add persistence across runs (save to file, load on startup).
  • Refactor code to reduce duplication and improve modularity (header files, separate class files, namespaces).

πŸ‘€ Author

Ahmed Aldsoaky Computer Engineering Student, Al-Azhar University


About

This is the first Project Using C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages