|
int **matri1[]=new int[r][c];// source of error<----- this is it
new returns a pointer to whatever you just made.
you just made a 2-d array of ints.
you're trying to assign a 2-d array of ints to a pointer to a pointer to a single array of ints or some other weird crap. your types don't jive...
apple = 3;
purple = 3.14159;
this shit doesn't work...the type of the thing on the left has to be the same as the type of the thing on the right.
actually i'm not even sure what you did, but this is weird!
if you have X = Y;
then X and Y have to be the same kind of thing.
__________________
i put on my robe and wizard hat...
Have you ever heard of Plato, Aristotle, Socrates?...Morons.
|