add initial c, cpp files

This commit is contained in:
2026-04-02 01:33:59 +02:00
commit c51e836ed9
5 changed files with 425 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
/*
Instructions
The classical introductory exercise. Just say "Hello, World!".
"Hello, World!" is the traditional first program for beginning programming in a new language or environment.
The objectives are simple:
Modify the provided code so that it produces the string "Hello, World!".
Run the test suite and make sure that it succeeds.
Submit your solution and check it at the website.
If everything goes well, you will be ready to fetch your first real exercise.
*/
#include "hello_world.h"
using namespace std;
namespace hello_world {
string hello() { return "Goodbye, Mars!"; }
} // namespace hello_world