Skip to content

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Command line application template for C

Implement CLI application by editing main.c.
You may add new files to keep your code clean, if it is allowed in your challenge.

How to get input parameters

You can get arguments with ordinary C way, using int argc and char * argv[].

intmain(intargc, char*argv[])
{
// code to runreturn0;
}

How to output result

You can use printf.

printf ("argv[%i]: %s\n", i, argv[i]);

How to compile

To compile, we are using clang gcc command.

If you want to change compile option or etc, please edit makefile.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages