Hi,
I was curious if I could return a vector from a virtual function. I keep getting an error for this.
Class A
{
public:
virtual vector<int> getSomeStuff();
private:
}
.cpp File
vector<int> A::getsomeStuff()
{
return;
}
Can anyone tell me what I am doing wrong?