What are you typing in to execute the program you've written?
jonsca
Quantitative Phrenologist
5,621 posts since Sep 2009
Reputation Points: 1,165
Solved Threads: 581
You probably don't need the .exe extension, but you shouldn't use the extension .cpp? Your .cpp file is just a text file. The compiler takes that, compiles it and links it into an .exe.
jonsca
Quantitative Phrenologist
5,621 posts since Sep 2009
Reputation Points: 1,165
Solved Threads: 581