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

include path problems

Status
Not open for further replies.

Horrid

Programmer
May 20, 1999
373
I am new to C++ and decided to learn by jumping in. The current sample code I am looking at has a problem with some of its include statements.

The files to be included are in the same path as stld.h
stld.h calls for
#include "3d/file.h"

now file.h calls for
#include "3d/newfile.h"

Because all files are in the same folder it gets stuck on the 3d/ and seems to try to go to 3d/3d/file.h. 3d/file.h would be the correct path.

Is there a setting in VC6++ or something else that might let me build without editing all the files? I manually removed the 3d/ from the first 2 files but when I noticed 250 files would need to be updated I decided there must be a better way.

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top