Dec 17, 2013 at 6:10am
Why is what not working? Post compiler errors, thought process, execution process, etc...
This is any easy one to spot though, matrix1 is a pointer pointing to nothing. You have 2 options:
1 2 3
|
typeMat *matrix1 = new typeMat();
// or
typeMat matrix1;
|
Last edited on Dec 17, 2013 at 6:11am
Dec 17, 2013 at 7:03am
but this is C not C++, there is not something like new