From d9eabb20c6e2ccce559d217057dc0d4bc3ef2703 Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 13 Oct 2022 19:42:12 -0300 Subject: [PATCH] distro-files: add hello world C and C++ programs --- distro-files/root/hello.c | 5 +++++ distro-files/root/hello.cpp | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 distro-files/root/hello.c create mode 100644 distro-files/root/hello.cpp diff --git a/distro-files/root/hello.c b/distro-files/root/hello.c new file mode 100644 index 00000000..ee60af46 --- /dev/null +++ b/distro-files/root/hello.c @@ -0,0 +1,5 @@ +#include + +int main(){ + printf("Hello, world!\n"); +} diff --git a/distro-files/root/hello.cpp b/distro-files/root/hello.cpp new file mode 100644 index 00000000..d002ccca --- /dev/null +++ b/distro-files/root/hello.cpp @@ -0,0 +1,6 @@ +#include + +int main(){ + std::cout << "Hello, world!" << std::endl; + return 0; +}