Microsoft Visual C ++ 2015头文件错误 [英] Microsoft visual C++ 2015 header file errors

查看:89
本文介绍了Microsoft Visual C ++ 2015头文件错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编译一个代码,即Microsoft VC ++ 2015中的.cpp文件,但它给出了100多个头文件错误。虽然包含在#includemyheader.h中的文件。

如何删除它们?



我尝试过:



我正在编译Microsoft VC ++ 2015中的代码,即.cpp文件,但它提供了100多个头文件错误。虽然包含在#includemyheader.h中的文件。

如何删除它们?

I am compiling a code i-e .cpp file in Microsoft VC++ 2015 but its giving 100+ header file errors.Although included the file in start as # include "Myheader.h".
How to remove them?

What I have tried:

I am compiling a code i-e .cpp file in Microsoft VC++ 2015 but its giving 100+ header file errors.Although included the file in start as # include "Myheader.h".
How to remove them?

推荐答案

最常见的错误是stdafx.h不是第一个包含的头。它提供MFC的东西。



如果它帮助提供一些如此完整的错误消息行
the most common mistake is that the stdafx.h isnt the first included header. It is providing the MFC stuff.

If it doenst help provide some somplete lines of error messages.


这篇关于Microsoft Visual C ++ 2015头文件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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