Function that reverses a string value
Created by Phil Gardner
last edited Jan 21 2018 by Phil Gardner
Saw a resource by Aaron Connor that shows how to do this in Python. Compare and contrast using this.
Lots of comment/criticisms on CAS/elsewhere suggest that C++ is “difficult” or even “dangerous”. It’s neither - take a look…
Teaches: character operations, iteration, function parameters and return values.
Source-code and instructions to compile and run on Raspberry Pi: https://program-using-gnu-cpp.blogspot.co.uk/2017/05/reversing-text-using-function.html