I have to remove a character from string and i know his position in string (index). On google i found just this way: str.erase(std::remove(str.begin(), str.end(), 'put hcaracter here')); and it removes all that characters from string. I have to remove ony one character using index. Is that posible in C++?
Example: string str = "Programming";
removing character from index 6
now it should be str = "Programing"; without an m not both of them