Making a project without a main.cpp file ?
Posted: Fri Feb 05, 2010 11:00 pm
Hi,
I can't make a project without a main.cpp file... Say I wanted to put the main function in a different file called project.cpp ... I get the following error
Is it bad practice to put the main function in a different file? Is there a way around this?
Thanks!
Nox
I can't make a project without a main.cpp file... Say I wanted to put the main function in a different file called project.cpp ... I get the following error
Code: Select all
*** No rule to make target `main.cpp', needed by `Debug/main.o'. Stop.
Thanks!
Nox