Reputation: 410
I downloaded Eclipse C/C++ for windows. Unfortunately i compile and start this code:
#include <stdio.h>
#include <stdlib.h>
int main(void) {
puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
return EXIT_SUCCESS;
}
First all i got this: symbol stdio.h stdlib.h and exit_succes can not be resolved. After i tried to build it i cant even run it. WHen i run it straight i got this 4 errors:
> -Program "g++" not found in PATH(Scanner)
> -Program "gcc" not found in PATH(Scanner)
> -Program "make" not found in PATH(Problem)
> -Symbol 'EXIT_SUCCES'could not be resolved (Semantic Error)
Can anybody tell me what's wrong? I would be grateful for any help.
Upvotes: 0
Views: 222
Reputation: 5557
Eclipse is not a compiler, and apparently you don't have the compilers eclipse is expecting installed, so it complains. I think the first choice for a compiler on windows is gcc from minGW.
The last error simply means that EXIT_SUCCES is not defined. I think you mean EXIT_SUCCESS, but that is just a guess.
Upvotes: 2