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
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