+ 4
Try to place #include "stdafx.h" above #include <iostream>
10th Apr 2017, 3:56 PM
Dennis
Dennis - avatar
+ 13
You seem to be using Visual Studio, and if that is the case, you may need to include the <string> header for string functionalities btw. After scavenging the net, this should fix your problem: In Visual Studio you must #include "stdafx.h" and be the first include of the cpp file This is weird. The problem doesn't exist on VS 2017.
10th Apr 2017, 3:53 PM
Hatsy Rei
Hatsy Rei - avatar