简体   繁体   English

Eclipse CDT 包含文件夹

[英]Eclipse CDT Include Folder

I am a C++ newb.我是 C++ 新手。 I have the Eclipse Luna IDE for Windows 10 and downloaded the Eclipse C/C++ IDE CDT 9.4 plugin.我有适用于 Windows 10 的 Eclipse Luna IDE 并下载了 Eclipse C/C++ IDE CDT 9.4 插件。 I have some code which has我有一些代码

#include <stdio.h>

which is giving me "unresolved inclusion".这给了我“未解决的包容性”。 Based on my research it means I do not have some include folder.根据我的研究,这意味着我没有一些包含文件夹。 I cannot find it on my Windows machine and all the help I've found is with ubuntu or Linux-based operating systems.我在我的 Windows 机器上找不到它,我找到的所有帮助都来自 ubuntu 或基于 Linux 的操作系统。 So how do I get this to work?那么我该如何让它发挥作用呢? How do I get the folder?如何获取文件夹?

Go to project properties, C/C++ General -> Paths and Symbols and for Language GNU C you should see the compiler default include folders.转到项目属性,C/C++ 常规 -> 路径和符号,对于 GNU C 语言,您应该会看到编译器默认包含文件夹。

If not, you might have a path problem.如果不是,则可能是路径问题。

And i think This helps you!我认为对你有帮助!

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

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