/ood-atm-test

My own implementation of ATM system using OOD Principles in C++.

Primary LanguageC++

ood-atm-test

This project is inspired by https://hackernoon.com/the-top-10-object-oriented-design-interview-questions-developers-should-know-c7fc2e13ce39

Deps

JSON File Structure

{
  "database": [
    {
      "account details": {
        "cash": NUMBER,
        "gender": STRING["male" || "female"],
        "name": STRING
      },
      "card type": NUMBER,
      "end date": STRING,
      "password": NUMBER(4 DIGITS),
      "serial number": NUMBER(16 DIGITS)
    }
  ]
}

Compiling using G++

g++ \
  -g -Wall -Wextra \
  -Iinclude \
  -x c++ -std=c++17 \
  -l=jsoncpp \
  src/*.cc src/**/*.cc;

! Make sure to pass the /path/to/db.json as the first argument.