My Project
|
Driver to test functions of symbol.c (do not modify) More...
Macros | |
#define | MAX_LINE_LENGTH 128 |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
const char * | delim = " \t" |
This is a driver program to test the functions of symbol.c The program accepts a series of commands and executes those commands one at a time. To understand the usage, type the command help
. This will give a brief description of each command and its parameters. Each command and its parameters are on a single line separated by whitespace.
#define MAX_LINE_LENGTH 128 |
Maximum length of command line processed
int main | ( | int | argc, |
char * | argv[] | ||
) |
Entry point of the program
argc | count of arguments, will always be at least 1 |
argv | array of parameters to program argv[0] is the name of the program, so additional parameters will begin at index 1. |
const char* delim = " \t" |
Delimiter used separate tokens on line - used by strtok()