1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
void Load_3()
<div style="margin-left:40px">int sortie = 0
int debut;
char choix, fichier
while (!sortie)
{
<div style="margin-left:40px">system(CMDCLS) // efface l'ecran - pas de prob-
printf("n° debut:"); // la je veu un entier long
scanf("%d",&debut);
printf("nom du fichier:"); //la je veux une chaine de caracter
scanf("%s",&fichier);
printf("continuer (c) - retour (r) :"); //la je veux c ou r
scanf("%c",&choix);
switch (choix)
{
<div style="margin-left:40px">case 'c':
sortir = TRUE;
//autre actions...
break;
case 'r':
sortie=TRUE;
//autres actions ...
break;
default :
break;</div>}</div>}</div> |
Partager