Sep 4, 2011 at 10:11pm UTC
On lines 11 and 13, you forgot the << after cout.
Sep 4, 2011 at 10:12pm UTC
You forgot the left stream operator on lines 11 and 13. (<<)
answer variable on line 18 is being used but you never initialiazed it, meaning that it will contain garbage.
Sep 4, 2011 at 10:13pm UTC
wow thats embarrassing um thanks i will be more careful to be fair it is 4:00 am were i am.lol
Sep 5, 2011 at 8:18pm UTC
everyone goes through a less useful post now and then, I surely have contributed with my share of them. ;)
Sep 5, 2011 at 8:29pm UTC
You can omit the stdafx header by deselecting the Pre-compiled headers box. If you've already built the project, you can simply disable it through Project Options .
Wazzak