Vectors of Object
class A; //Forward Declared
vector <A> v1;
I am getting an error of forward Declaration of 'class A'
What is the best way to resolve this problem.
Why are you forward declaring it? Not only do you not need it, but it's actually causing an error.
Please provide actual error messages and actual code that reproduces your problem.
Topic archived. No new replies allowed.