cedcey
June 18th, 2007, 05:26 PM
Hello,
I am using CDT and I'd like to start writing code in Eclipse but when I create a project and then a source file I get an error: undefined reference to `main'.
I can't write anything because of it, if I write something and run it it does not work.
I tried to deactivate Build Automatically option but when I finish the code and build it, gives me the same error.
Best regards,
I am using CDT and I'd like to start writing code in Eclipse but when I create a project and then a source file I get an error: undefined reference to `main'.
I can't write anything because of it, if I write something and run it it does not work.
I tried to deactivate Build Automatically option but when I finish the code and build it, gives me the same error.
Best regards,