// @topic S-0301-01-10-52 C++ POS structures
// @brief examples of using the structs

// main.cpp
#include <cstdlib>
#include <iostream>

#include "structs.h"

int main()
{
    CashRegister cash_register;
    Cashier cashier;
    Manager manager;
    Manager* ptr_manager = new Manager();

    manager.assign_register( &cashier, &cash_register );
    ptr_manager->assign_register( &cashier, &cash_register );

    WorkShift shift;
    shift.ptr_manager = &manager;
    shift.ptr_manager = ptr_manager;

    system( "pause" );
    return 0;
}