home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR9
/
WIZTOO.ZIP
/
REGWIZ.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-23
|
1KB
|
48 lines
// Module: REGWIZ.CPP
// September 20, 1993
// Fairfield, Iowa
// Aerosoft (R) Broadcast Channel Wizard Version 1.0
// Copyright (c) Aerosoft 1993 All rights reserved.
// This software source code is FREEWARE. You may be use the
// source code or redistribute the source code free of charge.
// However, you cannot sell this source code or any alteration of
// the source code.
// This is the main module for the REGWIZ program. See file REGWIZ.TXT for
// design notes about this program.
#include <stdio.h>
#include <process.h>
#include "CHNLSPEC.H"
#include "CODEGEN.H"
void main (int argc, char *argv[])
{
printf(
"\n Aerosoft (R) Register Wizard Version 1.0");
printf(
"\n Copyright (c) Aerosoft 1993 All rights reserved.\n\n");
if (argc != 2)
{
printf("Usage: REGWIZ <channel spec file name>\n");
exit(0);
}
InStream oInStream(argv[1]);
ChannelSpecs oChannelSpecs;
while (oChannelSpecs.GetNextChannelSpec(oInStream));
GenCHNNLDEF_H(oChannelSpecs);
GenREGISTER_CPP(oChannelSpecs);
GenREGISTER_H(oChannelSpecs);
GenAPP_CPP(oChannelSpecs);
printf(" *** Register Wizard Completion ***\n");
}