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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom header file error

Status
Not open for further replies.

EM

Programmer
Oct 21, 2000
5
US
I created my own header file for a program, but it keeps giving me an error that there is no such directory. Any suggestions on how to make my custom header file work? If you need a copy of my project to find the error, I am willing to post it in order to get a solution to my problem. Thanks!
-Em X-)
 
EM,

> custom header

Could you clarify the meaning of that? Also:

> it keeps giving me an error that there is no such directory.

What is 'it'? Also:

Please post the error message itself.

-pete
 
Pete,
A header file is a directory to where some information for a program is stored, for examle #include(iostream)is the header file for the input/output stream of your program.You can't use cout and cin without this header file included in your program, because it would not work. A custom header file is your #include"your-custom-name", that you make from a C++ header file. I was doing a program that linked together two programs by using a custom header file. I figured out what I was doing wrong when I created it, but thanks for taking the time to try to help me.
EM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top