-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcsv.h
More file actions
35 lines (27 loc) · 652 Bytes
/
csv.h
File metadata and controls
35 lines (27 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// csv.h
// MovieGross
//
//
// Copyright © 2016 ArsenKevinMD. All rights reserved.
//
#ifndef csv_h
#define csv_h
#include <vector>
#include <fstream>
//CSV File Processor
namespace CsvProc {
//Data Structure to process inputted csv file
class Csv{
//members
std::vector<std::vector<float>>matrix;
public:
//global members for MAX and MIN of Data
std::vector<float>MAX,MIN;
//constructor
Csv(std::ifstream& csv,int columns);
//method to return the data matrix
std::vector<std::vector<float>>getDataMatrix();
};
}
#endif /* csv_h */