added more code
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char const *argv[])
|
||||
{
|
||||
printf("Hello, World!\n");
|
||||
if (argc != 2)
|
||||
{
|
||||
printf("An error has ocurred no input file was given.\n");
|
||||
return 1;
|
||||
}
|
||||
printf ("So this line won't print without an argument.\n");
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user