Add changed PrintStats in MerkelMain to use currentTime
This commit is contained in:
18
CM2005 Object Oriented Programming/Topic 4/4.2.7/CSVReader.h
Normal file
18
CM2005 Object Oriented Programming/Topic 4/4.2.7/CSVReader.h
Normal file
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "OrderBookEntry.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
class CSVReader
|
||||
{
|
||||
public:
|
||||
CSVReader();
|
||||
|
||||
static std::vector<OrderBookEntry> readCSV(std::string csvFile);
|
||||
|
||||
private:
|
||||
static std::vector<std::string> tokenise(std::string csvLine, char separator);
|
||||
static OrderBookEntry stringsToOBE(std::vector<std::string> strings);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user