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!

Please help me : header files inclusion problem

Status
Not open for further replies.

sambag

Programmer
Jul 10, 2000
1
US
hey folks,<br><br>i have 3 header files named file1.h.file2.h,file3.h<br>file1.h includes file3.h and <br>file2.h includes file3.h.(each file having corresponding .cpp).<br>In file3.h i am having one class called clss3.<br>iam using the clss3 in the interface of file1.h and file2.h functions. <br>when i try to build shared library with file1.o,file2.o<br>it build the file1.o.but while making file2.o it is saying<br>clss3 is not found.int is no longer assumed.<br><br>i am having header guards also(#ifndef,#define,#endif)<br><br>after #include &quot;file3.h&quot; in file2.h why it is saying clss3 not found.<br><br>for above problem from where to start debugging. <br><br>please help me<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thanks<br>samba
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top