与文件路径不一致 [英] Inconsistency with the file path

查看:109
本文介绍了与文件路径不一致的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我正在使用Visual c ++进行一个小项目.文件的重复副本出现问题.

即,从2个源中打开一个.h文件.

1)从映射驱动器的包含文件中(通过运行.BAT文件获得)

2)从实际文件路径开始.例如:C:projects \ example.h

在一个文件中所做的更改不会保留在另一个文件中.真的很痛苦!

有任何建议吗?

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?

推荐答案

报价:

(带有重复副本


您知道您感兴趣的是哪一个吗?用它修改它并丢弃另一个.为什么要从两个来源打开?


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

报价:

在一个文件中所做的更改不会保留在另一个文件中.

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


当您从两个不同的路径获取(甚至是相同的)文件时,对一个文件所做的更改将如何更新为其他文件?
如果发生这种情况,请对不起,因为您感染了病毒!

以及为什么要修改从一个文件中获得的.h文件! ???


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


这篇关于与文件路径不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆