Actually My Friend has Borland Developer Studio 2006 installed on his machine and he wants to compile and Build Console C++ Application.
The problem what we don't know is that how to have more than one cpp file containing main function in a single project group and how to compile that specific file using BDS 2006.
Suppose i created a blank new C++ Console project and be default it added only one cpp file containing main function and whatever i write suppose i write cout<<"Hello World";.
it will work fine and it will build easily using F9 but when i add another cpp file containing main function and i only want the second file to build and see the output, i am unable to do that? because BDS 2006 is only compiling and building the first file only which it added by default.
now i want to know how to Build and Compile Multiple CPP Files Containing Main Function?
Because we people are unable to figure it out and unable to achieve because we don't want to create a new project for a single file containing the main function.
looking for a favorable reply.