Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 854140ae rédigé par Elie LUCAS's avatar Elie LUCAS
Parcourir les fichiers
parents 06b07fc4 f9318a71
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Aucun aperçu pour ce type de fichier
...@@ -6,6 +6,14 @@ typedef enum { ...@@ -6,6 +6,14 @@ typedef enum {
anglais, anglais,
neerlandais, neerlandais,
allemand, allemand,
espagnol,
maori,
suedois,
yoruba,
lithanien,
somali,
thai,
zoulou,
inconnu inconnu
} langue; } langue;
......
Aucun aperçu pour ce type de fichier
...@@ -51,8 +51,28 @@ langue string_vers_langue(const char *const str) ...@@ -51,8 +51,28 @@ langue string_vers_langue(const char *const str)
return allemand; return allemand;
} }
if (!strcmp(str,"lithanien")) { if (!strcmp(str,"lithanien")) {
return lithanieno return lithanien;
}
if (!strcmp(str,"suedois")) {
return suedois;
}
if (!strcmp(str,"espagnol")) {
return espagnol;
}
if (!strcmp(str,"maori")) {
return maori;
}
if (!strcmp(str,"yoruba")) {
return yoruba;
}
if (!strcmp(str,"somali")) {
return somali;
}
if (!strcmp(str,"thai")) {
return thai;
}
if (!strcmp(str,"zoulou")) {
return zoulou;
} }
return inconnu; return inconnu;
......
Aucun aperçu pour ce type de fichier
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter