I'm using NetBeans 7.0.1 to learn C.
I have done all the pre-requisites to start compiling in NetBeans so I'm ok with that.
I have done a "HelloWorld.c" with a main()
in it and it runs fine. But then I made "Another.c" with its respective main()
. I got an error which describes that I have already declared a main()
.
How can I have a .c files collection in the same project with their respective main
s? I'm doing this because I require the learning of the language since I switched some roles at work.
Is there a way so NetBeans can handle all the .c without a project? Or should i try this in Visual Studio 2010?