Bonjour à tous,
J'aimerais savoir comment copier des informations situés dans un fichier texte dans un tableau.
Par exemple, mon fichier txt se presente de la facon suivante:
Chat
Chien
Mon prgramme quand a lui contient 2 tableaux (char) tab1[20] et tab2[20]. Je ne sais pas comment mon premier tableau peut contenir le mot Chat et le second le mot Chien, a partir du fichier.txt .
Merci
Partager