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
+12 -3
View File
@@ -1,9 +1,18 @@
#include "../Include/FileReader.h"
#include <iostream>
#include <string>
#include <fstream>
FileReader::FileReader() {};
FileReader::~FileReader() {};
char *FileReader::Read(){
return nullptr;
std::string FileReader::GetFile(char *path){
std::ifstream file(path);
std::string line;
std::getline(file, line);
file.close();
return line;
}