I join you in your contempt for the pathetic IDE VC++ 2008. Its abysmal, its hated, its terrible.
Your problem has something to do with the linker file, I can't remember it exactly but just put the error code into google and look around. I had a similar problem before.
Go to 'build' at the top and hit 'clean solution'. Then click 'rebuild solution' and debug.
If that doesn't work try this.
Remake the project. Make sure it is a win32 console application.
What I like to do:
1. Click "create a new project"
2. Select win32 console app
3. When the wizard pops up, hit next.
4. Check empty project and continue.
5. Wait for the project to be created and then open the solution explorer
6. Right click on the source files folder and add a new item.
7. Click on the .cpp file and give it a name.
8. Start coding and hit the debug button.
Edit: VC++ 2008 is not a bad IDE. The debugger is nice and easy to use and intellisense makes it much easier to find rarely used functions and commands.