Add changed the main.cpp and the Merkel.cpp to finilize integration

This commit is contained in:
Lev
2021-05-24 14:23:59 -05:00
parent 5b2607113a
commit 725c540a48
11 changed files with 3987 additions and 0 deletions

View File

@ -0,0 +1,27 @@
#pragma once
#include <vector>
#include "OrderBookEntry.h"
class MerkelMain
{
public:
MerkelMain();
/** Call this to start the sim */
void init();
private:
void loadOrderBook();
void printMenu();
void printHelp();
void printMarketStats();
void enterOffer();
void enterBid();
void printWallet();
void gotoNextTimeframe();
int getUserOption();
void processUserOption(int userOption);
std::vector<OrderBookEntry> orders;
};