Thanks for the code Henry. It looks perfect. I'll tell you how it works when I try it out, but that won't be for a few days. Thank you.
Thanks for the code Henry. It looks perfect. I'll tell you how it works when I try it out, but that won't be for a few days. Thank you.
Avoid complex class interfaces? That is pure nonsense.
Just remember that such stuff is error prone and there are easier ways to do it in C++.
Ah, and delete [] doesn't exist in C99. This is C++, and do please use nullptr instead of NULL. Times evolve.