我对我的Visual c + +项目有疑问 [英] i have doubt in my Visual c++ project

查看:99
本文介绍了我对我的Visual c + +项目有疑问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Visual C ++ 6.0的新版本。



在我的Visual C ++应用程序中,当我Re-BuittAll时我发现了以下错误

错误: i>

D:\New Folder\Source1 \windward.h(25):致命错误C1083:无法打开包含文件:'games.h':没有这样的文件或目录





但是games.h文件只在项目文件夹中。



请帮帮我一个......



提前谢谢......!

I'm new one for Visual C++ 6.0.

In my visual C++ Application i found the below error when i "Re-BuittAll"
ERROR:i>
D:\New Folder\Source1\windward.h(25) : fatal error C1083: Cannot open include file: 'games.h': No such file or directory


But the games.h file is within the project folder only.

Please help me some one......

Thanks in advance......!

推荐答案

请使用 Google [ ^ ]。有很多与您的问题相关的建议。
Please, use Google[^]. There are tons of advices related to your issue.


是的,检查包含路径的项目设置。

我曾经发现的一个怪癖是,如果如果项目中指定了任何包含路径,则可能必须通过添加对当前目录的引用(单个点的路径,。)来添加项目的路径本身。我会把它作为第一个包含路径,以便使用任何专门用于您的项目的包含而不是在任何其他包含的路径中具有相同名称的任何包含(尽管您应该尽量避免这种情况)。



问候,

Ian。
Yes, check the project settings for "include paths".
One quirk I used to find is that if you have any "include paths" specified in your project, you may have to add the project's path itself by adding a reference to the current directory (a path of a single dot, "."). I would put this as the first include path so that any includes specifically for your project are used instead of any that happen to have the same name in any of the other included paths (although you should try to avoid that situation).

Regards,
Ian.


这篇关于我对我的Visual c + +项目有疑问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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