0

I downloaded eclipse for c/c++ but when I writes #include <stdio.h> for example I got an error Unresolved inclusion: <stdio.h>.

I see on the Internet some answers about similar problems but they didn't work in my case. When I goes to Properties -> Paths and symbols, I don't have any thing on "includes".

VolAnd
  • 6,367
  • 3
  • 25
  • 43
I.Mac
  • 289
  • 3
  • 17
  • you mean `#include ` ? – Jean-François Fabre Sep 04 '16 at 19:35
  • Did you try `#include ` (which is a C++ wrapper for the C library)? – Ivan Rubinson Sep 04 '16 at 19:42
  • Are you using C or C++? This is one area where the languages are different. The C++ language does not have the library (header) `stdio.h`. The C language doesn't have the library `cstdio`. – Thomas Matthews Sep 04 '16 at 20:08
  • Yes, I mean to #include . but it doesn't matter because it doesnt reconized any library such as #include or #include – I.Mac Sep 04 '16 at 21:14
  • Probably not going to help, but you should look into [The Definitive C++ Book Guide and List](http://stackoverflow.com/q/388242/1889329). (Tiny hint to a tiny problem: `cstdio` is different from `cstdio.h`.) – IInspectable Sep 05 '16 at 12:31

1 Answers1

0

Eclipse does not come with a C or C++ compiler. You need to install one separately. The compiler installation will then provide the standard library headers like <stdio.h>.

Popular C/C++ compilers for Windows include MinGW and Visual C++.

HighCommander4
  • 50,428
  • 24
  • 122
  • 194