Add way to extract numbers from the csv file

This commit is contained in:
2025-03-17 13:47:58 +01:00
parent fd03f5561f
commit 842e015c14
8 changed files with 103 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
#ifndef FILEHELPER_H
#define FILEHELPER_H
class FileHelper {
public:
FileHelper();
~FileHelper();
static bool FileExists(char *path);
};
#endif
+4 -1
View File
@@ -1,13 +1,16 @@
#ifndef FILEREADER_H
#define FILEREADER_H
#include <string>
#include <vector>
class FileReader {
public:
FileReader();
~FileReader();
char *Read();
static std::string GetFile(char *path);
};
#endif
+16
View File
@@ -0,0 +1,16 @@
#ifndef NUMBERHELPER_H
#define NUMBERHELPER_H
#include <string>
#include <vector>
class NumberHelper {
public:
NumberHelper();
~NumberHelper();
static std::vector<int> GetNumbers(const std::string csv);
};
#endif