Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm a student & I am having a problem with header files!

Status
Not open for further replies.

bama

Programmer
Oct 31, 1999
2
US
I am supposed to put a function into a programmer defined header file and save it to my A drive! When I compile it, it tells me that it is unable to open it! I am using:<br>
#include &quot;a:\\menu.h&quot;<br>
I typed the function and saved it in the A drive as type .h, then I put menu.h on the first line, the function prototype on the second, and the function definition on the third line! What am I doing wrong?
 
You put in an extra &quot;\&quot; It should read:<br>
#include &quot;a:\menu.h&quot;<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top