By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,852 Members | 2,240 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,852 IT Pros & Developers. It's quick & easy.

Adding Directories to VC++ Project

100+
P: 105
Hi all,

I have some header files in Clear Case environment..I need to include some of the header files into one of my VC++(2005 version) project..For example the path starts as say

x:/vcc/abcc.h

Should I have to include the whole path including the drive in my VC++ Project settings or just starting from /vcc....

Thanks
Feb 22 '07 #1
Share this Question
Share on Google+
1 Reply


DeMan
100+
P: 1,806
The best way (I think[I haven't used vc++]) is to include the path relative to where the project file is (If ur using a makefile this is even better, start from it's own directory) (so that other clearcase users in the same view can definitely see the file).

Thus if you want to include:

g:\myProject\importantHeader\hdr\thisFile.h
and your makefile or your project file is in
g:\myProject\myTestDriver\testSuite

you would declare the path as ..\..\importantHeader\hdr\thisFile.h

Of course if I used \ instead of / you would change this also......
Feb 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.