mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-06 17:13:59 -05:00
Fixed linux run bug
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user