You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
391 B
27 lines
391 B
#include "tp8.h"
|
|
|
|
void testinitialiser(void)
|
|
{
|
|
char mot[10];
|
|
initialiser(mot, 10);
|
|
printf("%s\n", mot);
|
|
}
|
|
|
|
void testplacer(void)
|
|
{
|
|
char mot1[10] = "bonjour";
|
|
char mot2[10];
|
|
initialiser(mot2, 7);
|
|
placer(mot1, 'n', mot2);
|
|
printf("%s\n", mot2);
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
//extraction();
|
|
//testinitialiser();
|
|
//testplacer();
|
|
jeuPendu();
|
|
return 0;
|
|
}
|