search

Home  >  Q&A  >  body text

eclipse为什么找不到stdio.h

不知道怎么配置C++

不知怎么加入GNU C++

PHP中文网PHP中文网2800 days ago792

reply all(1)I'll reply

  • 迷茫

    迷茫2017-04-21 11:19:42

    (I have never used Eclipse)

    Eclipse most likely does not come with a C language compiler and needs to be installed by yourself. It is recommended to install MinGW, which is a ported version of gcc on the Windows platform, or you can also consider using Microsoft's compiler (if you want to use Microsoft's compiler, it is better to use Visual Studio directly).

    After installing MinGW, configure the path of the compiler and the path of the header file in Eclipse (i.e., Include dirs in the picture). The one you see in the picture now is the JAVA header file directory, which is obviously not applicable to C.

    reply
    0
  • Cancelreply