diff --git a/ex01/Main.cpp b/ex01/Main.cpp index b882737..c9ada00 100644 --- a/ex01/Main.cpp +++ b/ex01/Main.cpp @@ -5,7 +5,7 @@ void print(std::string &str) std::cout << str << std::endl; } -void afficherConst(const int &nb) +void printf_const(const int &nb) { std::cout << nb << std::endl; } @@ -22,6 +22,6 @@ int main() int tab2[] = {1, 2, 3, 41}; iter(tab2, 4, add_one); std::cout << std::endl; - iter(tab2, 4, afficherConst); + iter(tab2, 4, printf_const); return 0; } \ No newline at end of file