Initial commit with cleaned history
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// Returns explicit value from main
|
||||
|
||||
#include <cs50.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, string argv[])
|
||||
{
|
||||
if (argc != 2)
|
||||
{
|
||||
printf("Missing command-line argument\n");
|
||||
return 1;
|
||||
}
|
||||
printf("hello, %s\n", argv[1]);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user