home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
bcpp1611.zip
/
BCPP
/
CMDLINE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-12-18
|
835b
|
29 lines
#ifndef _CMDLINE_HEADER
#define _CMDLINE_HEADER
#include "config.h" // Config structure
// ******* Define Prototypes ********
// Function converts a lower case string into upper case, any special
// characters remain the same (i.e "$", "%" ...)
void StrUpr (char* pUpCase);
// This function displays brief command line help to the user.
// Parameters:
// char* argv[] : Pointer to command line parameter pointer array
//
void PrintProgramHelp (char* argv[]);
// integer assignment
int intAssign (int& cmdCount, int argc, char* argv[] );
// string assignment
char* strAssign (int& cmdCount, int argc, char* argv[]);
// Function processes command line parameters
int ProcessCommandLine (int argc, char* argv[],
Config& settings, char*& pInFile, char*& pOutFile, char* & pConfig);
#endif