Question: I am working on a very big and old C++ project. The word "vector" has been used all over the place. I am now trying to add new functionality to the project utilizing STL vector. This is not working. In addition, I am only allowed to modify specific sections of the code, so I can not change their use of "vector". 

Is there a way to rename STL vector and use it?

Answer: 
Use [C++ namespaces](http://www.cplusplus.com/doc/tutorial/namespaces/).

```
#include <vector>

// note the absence of `using namespace std;` line

int main() {
    // note the `std::` qualification
    std::vector<int> x;

    // ...
}

```
Just refer to it using the full name `std::vector`.

In C++11, you could also use a [`using` statement](http://en.wikipedia.org/wiki/C++11#Alias_templates).