diff options
| author | arseney300 <arseney300@december.com> | 2026-02-20 03:53:55 +0000 |
|---|---|---|
| committer | arseney300 <arseney300@december.com> | 2026-02-20 03:53:55 +0000 |
| commit | 34fabc122238bd8fbf5c5a63e31e88836056fcf4 (patch) | |
| tree | a0ab5e889b5c32dc72d88d5f937ff154f558625f | |
| parent | 04c9ca9b5a8d89c6fd75d2167da41e6af7cd50e8 (diff) | |
add cpp hello world
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | main.cpp | 4 |
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; +} |
