diff --git a/03/main.cc b/03/main.cc index ddecfb6..13c9c53 100644 --- a/03/main.cc +++ b/03/main.cc @@ -38,7 +38,7 @@ bool peekCheck (ifstream &input, char c) { return false; } -int day2(const char *path, bool extra = true) { +int day3(const char *path, bool extra = true) { ifstream input(path); int result = 0; char c; @@ -85,13 +85,13 @@ int day2(const char *path, bool extra = true) { } int main(int argc, char *argv[]) { - int result = day2("example", false); + int result = day3("example", false); cout << "example (without do)" << endl << result << endl; - result = day2("example", true); + result = day3("example", true); cout << "example (with do)" << endl << result << endl; - result = day2("input", false); + result = day3("input", false); cout << "input (without do)" << endl << result << endl; - result = day2("input", true); + result = day3("input", true); cout << "input (without do)" << endl << result << endl; return 0;