14 lines
341 B
C
Raw Normal View History

2020-05-02 00:01:44 +02:00
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
int main (int argc, char* argv[])
{
char buffer [80];
if (argc != 2) fprintf (stderr, "\nERREUR ... Syntaxe : %s nom_login\n\n", argv[0]), exit(1);
bzero (buffer, 80); // les '\0' sur 80 caracteres !!
sprintf (buffer, "%s OUI",argv[1]);
printf ("*%s*\n", buffer);
}