Skip to content

wilsnd/CppBankOOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Bank

Simple OOP bank system in C++. It demonstrates some OOP concepts in C++ like inheritance, abstraction, encapsulation, and polymorphism.

You can read the tutorial here: https://gist.github.com/wilsnd/708f6b99c1a623a47621aa6e0071b383

Project Structure

bank/
├── include/
│   ├── Account.h         
│   ├── SavingsAccount.h 
│   └── Bank.h          
├── src/
│   ├── Account.cpp      
│   ├── SavingsAccount.cpp 
│   ├── Bank.cpp         
│   └── main.cpp         
├── test/
│   ├── AccountTest.cpp  
│   ├── SavingsTest.cpp 
│   └── test_main.cpp   
└── Makefile  

Usage

Make sure you have the .cmake file.

Compiling:

mkdir build
cd build
cmake ..
make

Run the app:

./bank_app

Run the test:

./bank_tests

Learning Outcomes

This project shows OOP concepts such as:

  • Inheritance
  • Polymorphism
  • Encapsulation
  • Operator Overloading
  • Smart Pointers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors