#include <vector>
#include "Rab.h"
class Envo
{
vector<Rab> items;
};
the error is: error: 'vector' does not name a type
I can't find ANYTHING that's wrong. Is someone else able to find it?
BTW, Rab.h contains the class 'Rab'.
Jack
#include <vector>
#include "Rab.h"
class Envo
{
vector<Rab> items;
};
the error is: error: 'vector' does not name a type
I can't find ANYTHING that's wrong. Is someone else able to find it?
BTW, Rab.h contains the class 'Rab'.
Jack
try
std::vector<Rab> items;
That's got to be it! I always forget that one!
Aaaaaaaaandddddddd... Yes! That's it!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.