Add created and set up the CSVReader.h file
This commit is contained in:
53
CM2005 Object Oriented Programming/Topic 3/3.4.2/main.cpp
Normal file
53
CM2005 Object Oriented Programming/Topic 3/3.4.2/main.cpp
Normal file
@ -0,0 +1,53 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "OrderBookEntry.h"
|
||||
#include "MerkelMain.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
MerkelMain app{};
|
||||
app.init();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// std::vector<OrderBookEntry> orders;
|
||||
|
||||
// orders.push_back( OrderBookEntry{1000,
|
||||
// 0.02,
|
||||
// "2020/03/17 17:01:24.884492",
|
||||
// "BTC/USDT",
|
||||
// OrderBookType::bid} );
|
||||
|
||||
// orders.push_back( OrderBookEntry{2000,
|
||||
// 0.02,
|
||||
// "2020/03/17 17:01:24.884492",
|
||||
// "BTC/USDT",
|
||||
// OrderBookType::bid} );
|
||||
|
||||
|
||||
// // std::cout << "The price is " << orders[1].price << std::endl;
|
||||
|
||||
// for (OrderBookEntry& order : orders)
|
||||
// {
|
||||
// std::cout << "The price is " << order.price << std::endl;
|
||||
// }
|
||||
|
||||
// for (unsigned int i = 0; i < orders.size() ; ++i)
|
||||
// {
|
||||
// std::cout << "The price is " << orders[i].price << std::endl;
|
||||
// }
|
||||
|
||||
// for (unsigned int i = 0; i < orders.size() ; ++i)
|
||||
// {
|
||||
// std::cout << "The price is " << orders.at(i).price << std::endl;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user