This repository contains three C++ exercises demonstrating various programming concepts and algorithms.
A program that processes Bitcoin transactions based on historical data.
Features:
- Reads Bitcoin exchange rates from a CSV database
- Processes input files with date | value pairs
- Validates input format and values
- Calculates Bitcoin values based on historical rates
Usage:
make
./btc input.txt
A Reverse Polish Notation calculator implementation.
Features:
- Evaluates mathematical expressions in RPN format
- Supports basic arithmetic operations (+, -, *, /)
- Validates input format
- Uses stack-based calculation
Usage:
make
./RPN "3 4 + 2 *"
A sorting algorithm comparison between vector and list containers.
Features:
- Implements merge-insertion sort algorithm
- Compares performance between std::vector and std::list
- Measures and displays execution time
- Handles large input sequences
Usage:
make
./PmergeMe 3 5 9 1 2 8 7
- C++ compiler (g++ or clang++)
- Make
- C++ Standard Library