<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>i have three files: dive.h, dive.cpp, and 
divemain.cpp</FONT></DIV>
<DIV><FONT size=2>i tried g++ -o divemain.o divemain.cpp and receive 
errors.</FONT></DIV>
<DIV><FONT size=2>dive.h is included in divemain.cpp and  
dive.cpp.</FONT></DIV>
<DIV><FONT size=2>how can i compile dive.cpp and divemain.cpp at the same 
time?</FONT></DIV></BODY></HTML>