Header Files; Example A-1. Header File Globalsh With Edit Line Numbers; Example A-2. Header File Module1H With Edit Line Numbers; Example A-3. Header File Module2H With Edit Line Numbers - HP nld Manual

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Noft

Table of Contents