This small project was created as a light-hearted response to a friend's request for a unique implementation of a 'Hello World' program. The challenge involved creating a 'Hello World' program using a linked list, with each node containing a single letter, which is then printed. Essentially, the program functions in two distinct ways. The first mode produces the standard 'Hello World' output. The second mode involves passing arguments to the program, which are then concatenated and printed as a single string.
- Clone the repository:
git clone https://github.com/Guiribei/hello_world.git
- Change to the repository directory:
cd hello_world
- Compile the project using the provided Makefile:
make
You can either run the program with or without any arguments. If you do pass any argument they will be concatenated and printed as a single string.
./hello
The output will be:
$ Hello World!
Or you can use arguments:
./hello some arguments
The output will be:
$ some arguments