We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98f408c commit b19f46cCopy full SHA for b19f46c
1 file changed
hello_world.cpp
@@ -1,7 +1,11 @@
1
#include <cstdlib>
2
#include <iostream>
3
4
+std::string message() {
5
+ return "Hello, Danger world!";
6
+}
7
+
8
int main() {
- std::cout << "Hello, Danger world!" << std::endl;
9
+ std::cout << message() << std::endl;
10
return EXIT_SUCCESS;
11
}
0 commit comments