From 8f85ff2ff966f461f40e4ca7dc61c5a2cd6f110d Mon Sep 17 00:00:00 2001 From: Pe40rin721 Date: Mon, 2 Dec 2024 00:05:32 +0500 Subject: [PATCH 1/3] added main.cpp --- hello-world/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hello-world/main.cpp diff --git a/hello-world/main.cpp b/hello-world/main.cpp new file mode 100644 index 0000000..125c73e --- /dev/null +++ b/hello-world/main.cpp @@ -0,0 +1,7 @@ +#include +using namespace std; + +int main() +{ +cout << "Hello World!" << endl; +} \ No newline at end of file From b27cb6c8ef6637bac7938d192e005387fe341b95 Mon Sep 17 00:00:00 2001 From: Pe40rin721 Date: Mon, 2 Dec 2024 00:28:44 +0500 Subject: [PATCH 2/3] added main.cpp --- hello-world/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hello-world/main.cpp b/hello-world/main.cpp index 125c73e..f1dc44a 100644 --- a/hello-world/main.cpp +++ b/hello-world/main.cpp @@ -4,4 +4,5 @@ using namespace std; int main() { cout << "Hello World!" << endl; +return 0; } \ No newline at end of file From f67bfd9edcd7fccbe3fe4c34bc5aa9f4df32e144 Mon Sep 17 00:00:00 2001 From: Pe40rin721 Date: Mon, 2 Dec 2024 00:49:34 +0500 Subject: [PATCH 3/3] added main.cpp --- hello-world/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello-world/main.cpp b/hello-world/main.cpp index f1dc44a..b531843 100644 --- a/hello-world/main.cpp +++ b/hello-world/main.cpp @@ -3,6 +3,6 @@ using namespace std; int main() { -cout << "Hello World!" << endl; +cout << "Hello, World!" << endl; return 0; } \ No newline at end of file