That's just a typical microsoft products bug.
I think the problem is in stdlib.h file
One way fix is then presumably to do
before anything else, and another and better fix to install the latest service pack.
Btw., the program technically needs to include <ostream>.
Please look following article: