Visual Studio source folder

Started by
2 comments, last by Geronimo2000 20 years, 9 months ago
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
Advertisement
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
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
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>

This topic is closed to new replies.

Advertisement