I read a C++ tutorial and from there got some code where everything was in main(). I basically broke it apart and for the first time wrote C++ functions. Now I am looking to improve the transformed code. Any suggestions for improvements so I can learn from the experts would be much appreciated.
Thanks in advance!