I have set up a piece of code where I am declaring a 2 dimensional vector of ints using the following code:
std::vector<std::vector<int> > name
This is created outwith a class. I am trying to create a pointer to this from another file but am having some issues. I am going to use this in order to find out how many elements there are in both the x and y directions.
Does anyone know how to create a pointer to a variable that has been created outwith a class?