12 lines
278 B
C
12 lines
278 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <assert.h>
|
||
|
int main (int argc, char * argv[], char * envp[])
|
||
|
{
|
||
|
assert (argc == 2);
|
||
|
//if (argc != 2) {fprintf (stderr, "\nSyntaxe : %s <chaine> \n\n", argv[0]); exit (1); }
|
||
|
|
||
|
printf ("\nhello %s\n\n", argv[1]);
|
||
|
}
|
||
|
|