M
maurir
Hello
I have an array of char, like these examples:
John Smith
Juan de la Rosa
Darren Russel Miller
Ana Maria da Silva Santos
The output of the compacted string's image:
John Smith
Juan de la Rosa
Darren R. Miller
Ana M. da S. Santos
So, the program has to abbreviate the middle names or surnames when
they exist. If not, the string is reproduced. I have to modify the
original string and not create a copy of it. Any ideas of how to start?
Thanks in advance.
I have an array of char, like these examples:
John Smith
Juan de la Rosa
Darren Russel Miller
Ana Maria da Silva Santos
The output of the compacted string's image:
John Smith
Juan de la Rosa
Darren R. Miller
Ana M. da S. Santos
So, the program has to abbreviate the middle names or surnames when
they exist. If not, the string is reproduced. I have to modify the
original string and not create a copy of it. Any ideas of how to start?
Thanks in advance.