Question:
I am a beginner with C++ programming. I was doing fine until I came to the string data type. Here is my problem:
#include #include
This gives me errors. I know it does not have anything to do with iostream, so what could be wrong with the other header?
Answer:
You’re using the obsolete header names. Use
using namespace std;
And this should work.