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: 
Remove the `using namespace std;` from the beginning of the file, and add `std::` in the code wherever is needed:

```
std::cout << "debug" << std::endl;
std::vector<std::string> simple_vector;

```
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).