Click here to Skip to main content
15,884,995 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!

I'm working on a little project using Visual c++. I'm having problems with the duplicate copy of the file.

Ie, A .h file is opened from 2 sources.

1) From the include files from the mapped drive (Obtained from running the .BAT file)

2) From the actual file path . Eg: C: projects\example.h

The changes made in one file is not retained in the other. Its really a pain!

Any suggestions?
Posted
Updated 12-Apr-12 4:27am
v2

1 solution

Quote:
with the duplicate copy

Did you know which one is of your interest. Take it modify it and discard the other. Why to open from two sources ??

Quote:
The changes made in one file is not retained in the other.

When you take (even same) files from two different paths, how come a change made to one will be updated to other ?
If it happens, then feel sorry, as you are effected with virus !

And why to modify a .h file you got from some one !!! ???
 
Share this answer
 
Comments
Sumal.V 12-Apr-12 10:39am    
Well I don't open from 2 sources. If right click on the #include example.h from my .cpp file, It opens up from the path.

But These files are in one project and declared in a separate project and there are 30 plus projects, each of which are interlinked!
Lakamraju Raghuram 12-Apr-12 13:01pm    
I am lost

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900