Error running C app in eclipse -
i have eclipse juno installed along c/c++ plugin , mingw(works fine in shell command line) whenever try run c app fails 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 c code
#include <stdio.h> int main() { printf("hello, world!\n"); return 0; } it simple hello world using hello.c file contains code above.
when first ran it, anti virus notified me c app potential threat along error eclipse. disabled anti virus , still error.
any advice?
i using windows 7 if helps
it seems trying run .c file. not program. need compile it.
i'm not pro using eclipse think mistake there.
maybe : http://www.codeproject.com/articles/14222/c-development-using-eclipse-ide-starters-guide
this (a bit old) : http://www.ibm.com/developerworks/opensource/library/os-ecc/?s_tact=105agx44&s_cmp=art
Comments
Post a Comment