It was done just from curiosity and to show how inheritance is power thing.  We have one base class array. Can we create on the base of it matrix? Yeah, of course.

source code

Сделать бесплатный сайт с uCoz