Submit 3 Files Safematrixcpp Safematrixh Maincpp Aim Assignment Practice Writing Template Q37054837

you should submit 3 files :SafeMatrix.cpp , SafeMatrix.h ,main.cpp

The aim of this assignment is to practice writing templateclasses. You must use SafeArray template class and implement aSafeMatrix template class that will allow you to work with twodimensional arrays of any type. The boundaries are checked. Youmust be able to create instances of SafeMatrix template classlike,

SafeMatrix m(2,3);

The above statement will create a 2 by 3 dimensional array ofintegers. You must be able to access and set values using bracketoperators. For example m[0][1] = 5; will set element at row 0column 1 to an integer value 5. You must be able to

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.