29 #include "resources.h"
33 std::string FileHelpers::getFileString(std::string fileName) {
34 std::ifstream fileInput(fileName.c_str());
36 buffer << fileInput.rdbuf();
40 std::string FileHelpers::getResourcePath(std::string relPath) {
42 buffer << RESOURCE_PATH <<
"/" << relPath;
49 results.open(filePath.c_str(), ios::in);
53 while (results >> std::ws && getline (results,line));;
55 std::stringstream stream(line);
static double getFinalScore(std::string filePath)
A series of functions to assist with file input/output.