Commit aab02c98b9d553534abf97da195903c47e4cb864
1 parent
02310c8e
Demo plusieurs fonction
Showing
3 changed files
with
7 additions
and
1 deletions
Show diff stats
src/main.cpp
src/test.cpp
@@ -4,3 +4,8 @@ int helloWorld() { | @@ -4,3 +4,8 @@ int helloWorld() { | ||
4 | std::cout << "Hello world!" << std::endl; | 4 | std::cout << "Hello world!" << std::endl; |
5 | return 0; | 5 | return 0; |
6 | } | 6 | } |
7 | + | ||
8 | +int helloWorld(int c) { | ||
9 | + std::cout << "Hello " << c << " worlds!" << std::endl; | ||
10 | + return 0; | ||
11 | +} |
src/test.hpp