C – Testing ncurses on linux – 004.

In this tutorial, I will show you something very simple without using the ncurses library.
It is about using arguments in the command line.
Create a file default.c and complete it with the source code below:

Use the gcc command tool to build this source code:

You can test the new command named default, like this:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.