It seems every c++ code I write in visual studio 2015 gives me errors but the codes come from c++ books and tutorials from websites etc. It seems alot of new stuff is required when it comes to programming c++ in windows. For example I never had to use stdafx.h before and I'll I needed to use was "using namespace std;" after the iostream include.
I'm a beginner so I'm starting out with console programs.
Can anyone recommend me a good resource for learning c++ in the windows environment?