summaryrefslogtreecommitdiff
path: root/wk2/lect2/greet.c
blob: eabff900bd882947c4fd8f62e12a01a195f3342d (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <cs50.h>

//argc is argument count, ie how many arguments were given
//argv is an array of the arguments given
//argv[0] is the 
int main(int argc, string argv[])
{
    printf("hello, %s\n", argv[1]);
}