antinutrino
asked on
using the C++ Standard Library
Hi
I am trying to use the Standard Library in an MFC or Win32 app
#include <iostream>
causes compilation errors. Can I use Standard Library in MFC,
it works in WIN32 but how can I get the cout, output window
Do I have to create a different type of project?
just want to play about with the standard library as its been a while
and I have no other C++ compiler.
Thanks
anti
I am trying to use the Standard Library in an MFC or Win32 app
#include <iostream>
causes compilation errors. Can I use Standard Library in MFC,
it works in WIN32 but how can I get the cout, output window
Do I have to create a different type of project?
just want to play about with the standard library as its been a while
and I have no other C++ compiler.
Thanks
anti
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you include #include <iostream> at the top of the main project include file i.e. stdafx.h, you will not get compilation error, though there will be heaps of warnings issued.
ASKER
thanks for all the answers.
anti
anti
Try to add after the #include :
using namespace std;