Sample nld and noft Session
Subsections:
Header Files
Source Module MAINC
Source Module MODULE1C
Source Module MODULE2C
User Library UTILC
Header Files
The source modules and the user library module use the following header files:
Module
MAINC
MODULE1C
MODULE2C
UTILC
Example A-1. Header File GLOBALSH With Edit Line Numbers
0
.001 #define BUS_STOP_CAPACITY 50
.002 #define BUS_CAPACITY 44
.003 #define MAXSTOPS 5
.004
.01
.1
1
extern long *bus_stop_array;
2
extern long
Example A-2. Header File MODULE1H With Edit Line Numbers
0
1
2
5
void initialize(long);
6
void wrapup(long);
Example A-3. Header File MODULE2H With Edit Line Numbers
1
2
3
void add_passengers(long);
4
void delete_passengers(long);
on page A-2
on page A-3
on page A-3
on page A-5
on page A-6
GLOBALSH
MODULE1H
X
X
X
passengers_on_bus;
nld and noft Manual—520384-003
Header File
MODULE2H
X
X
A- 2
Header Files
UTILH
X
X
X