I need to be able to pass a vector by reference, but I keep getting errors saying 'vector' is an undeclared identifier. I've #included
it in another part of the program where I'm using them with no problems and have tried 'typedef'ing the vector and putting another #include
in this cpp file but nothing works. Here's what I'm trying to do:
void AddNode(vector & nodeName);
void AddLink(vector & linkTo);
I'm using Visual C++ .Net Thanks in advance.