GITLAB
LeClubInfo
/
FUST
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
02310c8e6e28b5713f032577575aa22b2ea5adc5
Authored by
Geoffrey PREUD'HOMME
2016-03-16 12:51:20 +0100
1 parent
cd132533
Demo inclusion
Showing
3 changed files
with
9 additions
and
2 deletions
Show diff stats
src/main.cpp
src/test.cpp
src/test.hpp
Inline
Side-by-side
src/main.cpp
Wrap text
Show/Hide comments
View file @
02310c8
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
Wrap text
Show/Hide comments
View file @
02310c8
...
...
@@ -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
Wrap text
Show/Hide comments
View file @
02310c8
...
...
@@ -0,0 +1 @@
1
+int helloWorld();
...
...