Just something I would note:
why aren't you typing the first new -
//the relevant code in the constructor
//v is an unsigned char*
//r and c are integers
//init is an unsigned char
this->v = new unsigned char[r*c];
memset(v,init,r *c);
instead:
typedef unsigned char* myOddType;
main()
.
.
.
this->v...
Leave a comment: