 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| |
We
then include the .h files in modules that
|
|
need
access to the prototypes, structures, or
|
|
class
declarations:
|
|
|
|
|
#include
myfile.h
|
|
|
|
|
(Notice
the double quotes!)
|
|
|
| |
We
then compile programs (on UNIX) by:
|
|
|
|
|
g++
main.cpp myfile.cpp
|
|
|
|
|
(Notice
no .h file is listed on the above line)
|
|