Is it possible to do something like:

```
string word = "Hello";
word[3] = null;
if(word[3] == null){/.../}

```

in C++, basically making an array element empty. For example if I wanted to remove the duplicate characters from the array I'd set them to null first and then shifted the array to the left every time I found an array index that contained null.

If this is not possible what's a good way of doing something like this in C++ ?