jeudi 26 mars 2015

How manipulate strings in C++?


I have a set of std::strings like:



John is Eric's Pappy.


Glenn is Brett's Pappy.


Marcus is Vince's Pappy.



So, how can I print them out in this format:



Eric's Pappy is John


Brett's Pappy is Glenn


Vince's Pappy is Marcus





Aucun commentaire:

Enregistrer un commentaire