Please note this code is far from perfect. At this point in time I'm not an experienced programmer and I have little to no knowledge of C, C++. Feel free to use this code though, and if you have a ...