summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarseney300 <arseney300@december.com>2026-02-20 03:53:55 +0000
committerarseney300 <arseney300@december.com>2026-02-20 03:53:55 +0000
commit34fabc122238bd8fbf5c5a63e31e88836056fcf4 (patch)
treea0ab5e889b5c32dc72d88d5f937ff154f558625f
parent04c9ca9b5a8d89c6fd75d2167da41e6af7cd50e8 (diff)
add cpp hello world
-rw-r--r--Makefile2
-rw-r--r--main.cpp4
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..965ab88
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,2 @@
+all:
+ g++ main.cpp -o main.out
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..332383c
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,4 @@
+#include <iostream>
+int main(){
+ std::cout << "Hello world" << std::endl;
+}