I am working on the \'driver\' part of my programing assignment and i keep getting this absurd error:
error C2065: \'cout\' : undeclared identifier
In VS2017, stdafx.h seems to be replaced by pch.h see this article,
stdafx.h
pch.h
so use:
#include "pch.h" #include using namespace std; int main() { cout << "Enter 2 numbers:" << endl;