Hint: Use main twice differently. Note that you will get a compiler error if you try to overload main. Removing the second or first use of main should end up calling main twice (meaning it compiles and links, and runs)
1>forum-help.obj : error LNK2005: _main already defined in f.obj
1>C:\Visual Studio 2010\C++\forum-help\Debug\forum-help.exe : fatal error LNK1169: one or more multiply defined symbols found
.. getting closer only 10 error messages away, lol
Neither do I, I just wrote some code to see what would happen and I got the linker error ;)
Hint: I only used one .cpp file and I only included <iostream> (it would still work without including iostream)
That's not valid C++ since you cannot overload the main function.
Apparently VC++ fails to recognize this, so it leaves it to the linker to pick up the pieces.