home *** CD-ROM | disk | FTP | other *** search
- /*********************************************************************
- * CH15_10.C CrΘation de comptes clients *
- * mise α jour et lecture d'un compte α partir de son numΘro *
- *********************************************************************/
-
- #include"c:\albulus\chap_15\ch15_10.h"
- #include"c:\albulus\chap_15\ch15_10.le"
- #include"c:\albulus\chap_15\ch15_10.w"
-
- main( void)
- {
- char choix= 'z';
- LitDateJour( &date_jour);
-
- while( choix!= 'E')
- {
- printf("\n\n\t -------------------------------------------\n"
- "\t Gestion de Comptes Clients\n\n"
- "\t\t Ouverture de comptes:\t\t[ O ]\n"
- "\t\t Affichage de comptes:\t\t[ A ]\n"
- "\t\t Mise α jour de comptes:\t[ M ]\n"
- "\t\t exit: \t\t[ E ]\n"
- "\t -------------------------------------------\n\t Choix: ");
-
- LitChar( &choix);
- if( ( choix> 96) && ( choix< 123) ) choix-= 32;
-
- switch( choix)
- {
- case 'O': OuvreClient();
- break;
-
- case 'A': AfficheClient();
- break;
-
- case 'M': MajClient();
- break;
-
- case 'E': break;
-
- default: printf(" Erreur! composez O, A, M, ou E");
- }
- }
- printf("\n\n\t\t *** Fin du programme ***");
-
-
- }
-
-