Visual Studio source folder
This is a simple problem, but after spending over an hour trying to get Visual Studio to accept a different directory for source files, I finally gave up. Could somebody please let me know how I can specify a relative and/or explicit path name for my source files. I''m using 6.0 and .NET right now so any help for either would be great. Thanks a lot.
G
AFAIK normal relative pathnames work here.
So, if you want to refer to project''s parent dir for example, use
../
and current project dir as
./
Works for me!
-N
So, if you want to refer to project''s parent dir for example, use
../
and current project dir as
./
Works for me!
-N
Hey, thanks a lot. Could you direct me to the area where I can type it in, and an example of how you would type out a subfolder in the project directory called ''Source'' for example, so I can know if I''m crazy or not. I''ve tried tools/options/directories/source, and I''ve tried project/settings/c++/preprocessor. I suppose I haven''t found the right setting yet? Thanks for you help.
G
G
I think there is no way
you add .cpp files to your project
you can add additional include and lib dirs thats all
so you dont have to say #include "..\..\..\file.h"
you can just put #include <file.h>
you add .cpp files to your project
you can add additional include and lib dirs thats all
so you dont have to say #include "..\..\..\file.h"
you can just put #include <file.h>
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement