I have changed al my arrays to C++ type std::array and it works just fine; I will use the C++ version from now on.
Thanks again for the help.
I have changed al my arrays to C++ type std::array and it works just fine; I will use the C++ version from now on.
Thanks again for the help.
Make sure to use its unique advantages too.
std::array - Cppreference
(I'm not sure.. but this^ seems to be incomplete; confirmation...anyone?)
Be careful when trying to apply concepts from other languages to C++, or any new language for that matter. C++ provides for completely seperate pardigm then BASIC, and even though you know BASIC some of the techniques employed from your experience will lead you down the road to disaster in C++ and other advanced programming languages. If you understand 'How to program' you should apply those problem solving skills when learning C++, in a C++ matter; rather then a BASIC/C++ hybrid that you are currently using.
For a good starting point I would suggest you look through the C++ Made Easy Tutorials available on this site. Just a quick glance through your code you are missing some fundamental concepts such as user defined types, that would greatly simplify this task.