Commit aab02c98b9d553534abf97da195903c47e4cb864

Authored by Geoffrey PREUD'HOMME
1 parent 02310c8e

Demo plusieurs fonction

Showing 3 changed files with 7 additions and 1 deletions   Show diff stats
@@ -3,6 +3,6 @@ @@ -3,6 +3,6 @@
3 #include "test.hpp" 3 #include "test.hpp"
4 4
5 int main() { 5 int main() {
6 - helloWorld(); 6 + helloWorld(4);
7 return 0; 7 return 0;
8 } 8 }
@@ -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 +}
1 int helloWorld(); 1 int helloWorld();
  2 +int helloWorld(int c);