Jonathan E. Landrum c48df795bb Making directory name consistent | 9 سال پیش | |
---|---|---|
.. | ||
README.md | 9 سال پیش | |
stringReverser.cpp | 9 سال پیش |
There are two types of string reversal programs: the ones that reverse the words, and the ones that reverse the characters. This program is one of the latter. It takes a string as an array of characters and reverses it:
$ Enter a string to reverse:
$ Hello, world!
$ !dlrow ,olleH