From de0ce1c9f6a7836667c6fe96d0d0b6a306050762 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 18 Feb 2024 14:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E4=B8=8Ahello.world?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c/code/hello.world.c | 7 +++++++ python/code/hello.world.py | 1 + shell/code/hello_world.sh | 2 ++ 3 files changed, 10 insertions(+) create mode 100644 c/code/hello.world.c create mode 100644 python/code/hello.world.py create mode 100755 shell/code/hello_world.sh diff --git a/c/code/hello.world.c b/c/code/hello.world.c new file mode 100644 index 0000000..f9e62f5 --- /dev/null +++ b/c/code/hello.world.c @@ -0,0 +1,7 @@ +#include + +int main(void) +{ + printf("hello,world!"); + return 0; +} diff --git a/python/code/hello.world.py b/python/code/hello.world.py new file mode 100644 index 0000000..2b13bfb --- /dev/null +++ b/python/code/hello.world.py @@ -0,0 +1 @@ +print("hello,world!") diff --git a/shell/code/hello_world.sh b/shell/code/hello_world.sh new file mode 100755 index 0000000..c9a6e2f --- /dev/null +++ b/shell/code/hello_world.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo "Hello,world !"