Motorola Axiom CMD11E1 Guide de l'utilisateur Page 58

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 101
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 57
58 CHAPTER 4. PROGRAMS
if (c == ’1’) goto one;
if (c == ’2’) goto two;
fprintf(stderr,"\n\nNot a valid choice!\n");
goto foo;
one:
fprintf(stderr,"Good choice. \n");
goto more;
two:
fprintf(stderr,"Try later\n");
more:
fprintf(stderr,"Try again? ");
c = getche();
if (c == ’y’) goto foo;
if (c == ’Y’) goto foo;
if (c == ’n’) goto bye;
if (c == ’N’) goto bye;
goto more;
bye:
return;
}
Vue de la page 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 100 101

Commentaires sur ces manuels

Pas de commentaire