In the video, main.cpp is able to run without including “stdfx.h” in visual studio. I though it was absolutely necessary and I am unable to run the code without errors unless I include it.
Also it has to be included before .
So my questions are:
- Is it necessary to include “stdafx.h”
- Why is/isn’t it necessary?
- Why does it have to be included before ?