« Exercices en langage C/Fonctions » : différence entre les versions

Contenu supprimé Contenu ajouté
m A supprimé la protection de « Exercices en langage C/Fonctions » : Robot : Suppression de la protection d’une liste de fichiers
DannyS712 (discussion | contributions)
m <source> -> <syntaxhighlight> (phab:T237267)
Ligne 14 :
=== Solution proposée ===
<div style="width:100%">{{Boîte déroulante|titre=Solution proposée|contenu =
<sourcesyntaxhighlight lang="c">
/**
* Programme . : majuscule
Ligne 39 :
return EXIT_SUCCESS;
}
</syntaxhighlight>
</source>
}} </div>
 
Ligne 60 :
===Éléments fournis===
<div style="width:100%">{{Boîte déroulante|titre=lire_ligne.c à compléter|contenu =
<sourcesyntaxhighlight lang="c">
/**
* Fonction .. : lire_ligne
Ligne 117 :
// Fin partie à compléter...
} // char *lire_ligne(...
</syntaxhighlight>
</source>
}} </div>
 
<div style="width:100%">{{Boîte déroulante|titre=lire_ligne.h|contenu =
<sourcesyntaxhighlight lang="c">
/*
* Nom .... : lire_ligne.h
Ligne 153 :
 
#endif
</syntaxhighlight>
</source>
}} </div>
 
<div style="width:100%">{{Boîte déroulante|titre=main_lire_ligne.c|contenu =
<sourcesyntaxhighlight lang="c">
/*
* Nom ......... : main_lire_ligne.c
Ligne 246 :
return EXIT_SUCCESS;
} // int main(void)
</syntaxhighlight>
</source>
}} </div>
 
Ligne 262 :
===Solution proposée===
<div style="width:100%">{{Boîte déroulante|titre=Voir la solution|contenu =
<sourcesyntaxhighlight lang="c">
/**
* Fonction .. : lire_ligne
Ligne 395 :
return chaineRetour;
} // char *lire_ligne(...
</syntaxhighlight>
</source>
}} </div>
 
Ligne 417 :
===Solution proposée===
<div style="width:100%">{{Boîte déroulante|titre=Voir la solution|contenu =
<sourcesyntaxhighlight lang="c">
/*
Nom : verifrand.c
Ligne 495 :
return EXIT_SUCCESS;
} // int main(void)
</syntaxhighlight>
</source>
 
'''Résultats obtenus :'''