Are you sure you're getting the vector and not just the memory address? It's been a while, but I do know that char* is just a pointer to a character used to allocate memory for an array of characters and simulate strings. Since it's a pointer though, it might be returning what it's pointing to, the address, as opposed to the value at that address.
But I may be wrong.