This problem has caused me hours of getting nothing done over the last 2 days...
If i make my own class and include a library in the .cpp, I keep getting ONE of these errors:
'vector' not a member of std;
'string' not a member of std;
in my .cpp file i have #include <vector> and #include <string>
i do NOT use "using namespace std;"
is now working, when it would not work for my earlier class.
gives me the vector error.
I can't figure out where it is going wrong. Sometimes it throws one error, and at times it throws the other. The code for the 2 classes is identical.
This is all very confusing... so here is the code that is throwing the vector error and NOT the string error.