Fixed linux run bug

This commit is contained in:
2021-07-03 14:18:15 -04:00
parent 43bdda8cd1
commit 6de24c0680

View File

@@ -34,7 +34,7 @@
//Take the names from the file and insert them into the vector //Take the names from the file and insert them into the vector
void Problem22::getNames(){ void Problem22::getNames(){
std::ifstream inFile("files/Problem22Names.txt"); std::ifstream inFile("files/problem22Names.txt");
if(!inFile.is_open()){ if(!inFile.is_open()){
inFile.open("../files/problem22Names.txt"); inFile.open("../files/problem22Names.txt");
} }