This is my code
Code:
c1 { int h, double b}
c2 { int lb double[] y, c1[][] x}
class3{
obj = new c2();
obj.lb = Nb_int;
obj.y = new double[nb_int];
obj.x = new c1[nb_int][nb_int];
}
I get an error "null pointer", the error lies in assigning values to my obj.x, I think a pb of initialization, I'm gone the objects integrated in other objects. Any idea would be highly appreciated.



Reply With Quote
Bookmarks