In this tutorial we'll take a look at how we pass arrays to functions and return them from functions, plus a few things that might
catch you out. C++ makes passing around arrays fairly easy, but there are a few traps for the unwary.
Click here to download source code for this tutorial.
Next: C++Tutorial for Beginners 50 - Namespaces; Organise Your Classes
Previous: C++Tutorial for Beginners 60 - Creating an SDL Window
Click here to see more in "C++ for Complete Beginners"