home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / dos / prg / alb_c10 / chap_15 / ch15_10.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-29  |  969 b   |  45 lines

  1. /*********************************************************************
  2. *  CH15_10.h                                 En tΩte  *
  3. *********************************************************************/
  4.  
  5. #include<stdio.h>
  6. #include<string.h>
  7. #include<alloc.h>
  8. #include<time.h>
  9.  
  10. #define dim 32
  11. #define fichier "c:\\albulus\\chap_15\\clients.bin"
  12.  
  13. typedef struct     {   int  jour,
  14.              mois,
  15.              annee;
  16.         } date;
  17.  
  18. typedef struct     {   unsigned long numero;
  19.                     char nom[dim];
  20.             double mouvement,
  21.                cumul_debits,
  22.                            cumul_credits,
  23.                solde;
  24.                     date der_mvt;
  25.         } client;
  26.  
  27. typedef enum{ Fin, On} etat;
  28.  
  29. void LitChar( char*);
  30. void LitInt( int*);
  31. void LitUL( unsigned long int*);
  32. void LitDble( double*);
  33. void LitChaine( char*, int);
  34.  
  35. void LitDateJour( date*);
  36. void AfficheDate( date*);
  37.  
  38. void OuvreClient( void);
  39. void AfficheClient( void);
  40. void MajClient( void);
  41.  
  42.  
  43. FILE *flux;
  44. date date_jour;
  45.