Project information

  • Category: C++ & PQs
  • Class: Data Structures and Algorithms
  • Project date: Fall 2023
  • Project URL: Click Here

Project Details

This project involves creating an online banking infrastructure simulator. The program parses input files, including a user registration file and command file containing operations and queries. It handles user commands such as login, logout, and transaction placement, ensuring validity and detecting potential fraudulent activities. Transactions are executed based on a priority queue and checked for factors like timestamps, user existence, and active sessions. Transaction fees are calculated with loyalty discounts. Queries include listing transactions, calculating bank revenue, summarizing customer history, and daily summaries. The program performs error handling, prints output to standard output, and follows specified command line options via getopt_long().