0
how can i flip any word with c++
6 Answers
+ 3
DZM game play First complete C++ course then ask question.
+ 2
What do you mean flip? Reverse ?
DZM game play it's easy to do in c++, using const reversed iterator.
const_reversed_iterator are member of the builtin string class and they return const iterators that's In reversed format... you can use the iterator range to make a reversed word
you can utilize these iterators to make other flipping example by each words
https://code.sololearn.com/cvS68pTpZ9xw/?ref=app
+ 1
You have to accept Input to flip any word
0
I want to put a word and have the program put it back to front
0
DZM game play
Please set C++ in the post tags for relevancy with topic
https://code.sololearn.com/W3uiji9X28C1/?ref=app
0
Mirielle It is well done, but what I want is to flip any word, not something specific