summaryrefslogtreecommitdiff
path: root/cpp-hello-world/src
diff options
context:
space:
mode:
authors1n <[email protected]>2019-11-27 22:57:39 -0800
committerGitHub <[email protected]>2019-11-27 22:57:39 -0800
commit2d74950cf107daa391dba6f483a390e57c60dd0b (patch)
tree3574985152c31ba2b9a97ad4d1f33c0b5bc0e206 /cpp-hello-world/src
parentInitial commit (diff)
downloadcpp-examples-2d74950cf107daa391dba6f483a390e57c60dd0b.tar.xz
cpp-examples-2d74950cf107daa391dba6f483a390e57c60dd0b.zip
Add files via upload
Diffstat (limited to 'cpp-hello-world/src')
-rw-r--r--cpp-hello-world/src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp-hello-world/src/main.cpp b/cpp-hello-world/src/main.cpp
new file mode 100644
index 0000000..769877e
--- /dev/null
+++ b/cpp-hello-world/src/main.cpp
@@ -0,0 +1,6 @@
+#include <iostream>
+using namespace std;
+
+int main() {
+ std::cout << "Hello, World!" << std::endl;
+}