Commit 02310c8e6e28b5713f032577575aa22b2ea5adc5

Authored by Geoffrey PREUD'HOMME
1 parent cd132533

Demo inclusion

Showing 3 changed files with 9 additions and 2 deletions   Show diff stats
src/main.cpp
1 1 /* Programme principal */
2 2  
3   -#include <iostream>
  3 +#include "test.hpp"
4 4  
5 5 int main() {
6   - std::cout << "Hello world!" << std::endl;
  6 + helloWorld();
7 7 return 0;
8 8 }
... ...
src/test.cpp 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +#include <iostream>
  2 +
  3 +int helloWorld() {
  4 + std::cout << "Hello world!" << std::endl;
  5 + return 0;
  6 +}
... ...
src/test.hpp 0 → 100644
... ... @@ -0,0 +1 @@
  1 +int helloWorld();
... ...