also you dont need stdio.h and what compiler do you use? and i suggest if you dont use vc 2010 to use it and try making a new file because its corrupted somehow
make a new .cpp and write it again..also u don't really need ''stdafx.h" unless you are using pre compiled headers if ur making alot of ur own don't bother with it as it will slow ur entire project build time down.