I have created a project in Visual Studio 2008 Professional Edition.
This project contains one .cpp file for each assignment like this...
[-]Source F
I guess in your situation your project consists of just one file. If you want to compile them separately then I suggest: