Eclipse will not allow me to include <iostream>
. I'm on a mac and when I try the same thing using xcode it works. I'm running eclipse Indigo and I've tried both the MAc OS X compiler option and the cross platform one.
相关问题
- Eclipse and Mylyn : how to disable grey files in t
- Xcode debugger displays incorrect values for varia
- Installing Pydev for Eclipse throws error
- Is there a way to report errors in Apple documenta
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- 现在使用swift开发ios应用好还是swift?
- selenium+eclipse 打开网页时报错
- Visual Studio Code, MAC OS X, OmniSharp server is
- xcode 4 garbage collection removed?
- IntelliJ IDEA can't open projects or add SDK o
- Eclipse failing to open
- Automator: How do I use the Choose from List actio
- Eclipse how can I indent C++ preprocessor macros
I resolved this by manually adding the path to iostream to my project:
Right click on project -> Properties -> C/C++ General -> Paths and Sympols -> GNU C++ (under Languages column in Includes) -> Add
I added the following (the ones in Bold) -- I think the second one is what you need: