Simulated trading environment for a sports shop based on file handling in C++