i have Eclipse Juno installed along with the c/c++ plugin and MinGW(works fine in shell command line) but whenever i try to run my C app it fails with this message below:
Error starting process.
Cannot run program "C:\Users\jonney\Work\HelloWorldC\hello.c": Launching failed
Cannot run program "C:\Users\jonney\Work\HelloWorldC\hello.c": Launching failed
Cannot run program "C:\Users\jonney\Work\HelloWorldC\hello.c": Launching failed
here is my C code
#include <stdio.h>
int main() {
printf("Hello, world!\n");
return 0;
}
It is just a simple Hello world using hello.c file that contains the code above.
When i first ran it, my anti virus notified me as this C app a potential threat along with the error from eclipse. I disabled the anti virus and still get the error.
any advice?
i am using windows 7 if that helps