简体   繁体   English

错误:IntellliSense:标识符“uint32”未定义?

[英]Error: IntellliSense: identifier “uint32” is undefined?

In visual studio I am getting this error. 在visual studio中我收到了这个错误。

Error: IntellliSense: identifier "uint32" is undefined? 错误:IntellliSense:标识符“uint32”未定义?

please suggest me which file need to include? 请建议我需要包含哪个文件?

If you are looking for uint32_t then you include stdint.h . 如果您正在寻找uint32_t那么请包含stdint.h

Otherwise, if you really are after uint32 , then that type is not a standard type and you need to include whichever header file declares it. 否则,如果您真的在uint32之后,那么该类型不是标准类型,您需要包含声明它的头文件。 Only you know that information. 只有你知道这些信息。

I had a similar problem: I was including certain header files in the wrong order, thus certain windows types weren't defined for another windows header. 我有一个类似的问题:我以错误的顺序包含某些头文件,因此没有为另一个Windows头定义某些窗口类型。 If you have this, try re-arranging headers too. 如果你有这个,尝试重新安排标题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM