blob: ebce04c700cfd6190941dcd2ba30abcb613a8a1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stdio.h>
#include <cs50.h>
int main(int argc, string argv[])
{
if (argc != 2)
{
printf("Missing command-line argument\n");
return 1;
}
else
{
printf("hello, %s\n", argv[1]);
return 0;
}
}
|