I want to start a new programming project. In this project I want to use more than one project in my workspace, but still let them compile together.
So I added two projects to my workspace. One project contains a main function, while the other doesn't. I've set the active project to the one that contains the main function. Then I added the other project as a dependency (in Project->Dependencies...).
Now the problem is that it won't compile, because it can't find a main function in one of the projects :
So can anyone help me compile this ? I'm using MSVC++ 6.0 .
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/LinkedList.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Sky.exe - 2 error(s), 0 warning(s)
Thanks in advance.