summaryrefslogtreecommitdiffstats
path: root/src/chapter0/lesson7/helloworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chapter0/lesson7/helloworld.cpp')
-rw-r--r--src/chapter0/lesson7/helloworld.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/chapter0/lesson7/helloworld.cpp b/src/chapter0/lesson7/helloworld.cpp
new file mode 100644
index 0000000..b0a6bd2
--- /dev/null
+++ b/src/chapter0/lesson7/helloworld.cpp
@@ -0,0 +1,7 @@
+#include <cstdlib>
+#include <iostream>
+
+int main() {
+ std::cout << "Hello, world!\n";
+ return(EXIT_SUCCESS);
+}