I am almost done with a project but I keep getting these errors when I compile. They occur in both of my classes and this is a barrier that is keeping me from finishing. I would like to understand what I am doing wrong and would be grateful for the help. As you can tell, I am a beginner.
#include <iostream> // simplification of code
#include <string>
usingnamespace std;
class std::A
{ //error: qualified name does not name a class before '{' token
A();
};
class B: public std::A
{ //error:expected class-name before '{' token
B();
};
int main()
{
// some code written
return 0;
}
//hundreds of code written