home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR9 / WIZTOO.ZIP / ROSWIZ.CPP < prev    next >
C/C++ Source or Header  |  1993-09-22  |  1KB  |  48 lines

  1. //  Module: ROSWIZ.CPP
  2.  
  3. //                                                   September 20, 1993
  4. //                                                   Fairfield, Iowa
  5.  
  6. //          Aerosoft  (R)  Broadcast Channel Wizard   Version 1.0
  7. //          Copyright (c)  Aerosoft 1993     All rights reserved.
  8.  
  9. //          This software source code is FREEWARE.  You may be use the
  10. //          source code or redistribute the source code free of charge.
  11. //          However, you cannot sell this source code or any alteration of
  12. //          the source code.
  13.  
  14. //  This is the main module for the ROSWIZ program.  See file ROSWIZ.TXT for
  15. //  design notes about this program.
  16.  
  17. #include    <stdio.h>
  18. #include    <process.h>
  19.  
  20. #include    "CHNLSPEC.H"
  21. #include    "CODEGEN.H"
  22.  
  23. void main (int argc, char *argv[])
  24. {
  25.     printf(
  26.        "\n    Aerosoft  (R)  Roster Wizard              Version 1.0");
  27.     printf(
  28.        "\n    Copyright (c)  Aerosoft 1993     All rights reserved.\n\n");
  29.        
  30.     if (argc != 2)
  31.     {
  32.         printf("Usage: ROSWIZ <server specs file name>\n");
  33.         exit(0);
  34.     }
  35.  
  36.     InStream     oInStream(argv[1]);
  37.     
  38.     ChannelSpecs oChannelSpecs;
  39.  
  40.     while (oChannelSpecs.GetNextChannelSpec(oInStream));
  41.  
  42.     GenCHNNLDEF_H(oChannelSpecs);
  43.     GenROSTER_CPP(oChannelSpecs);
  44.     GenROSTER_H(oChannelSpecs);
  45.     GenAPP_CPP(oChannelSpecs);
  46.     printf("    *** Roster Wizard Completion ***\n");
  47. }
  48.