14 lines
274 B
Plaintext
14 lines
274 B
Plaintext
#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;
|
|
}
|