X
xz
I have defined a class Floor with its constructor as follows:
class Floor{
private:
//...
public:
Floor(double x0, double y0, double xM, double yM, double r = 1.0, int
meshOrder = 1);
//...
};
I have tried both of the following:
Floor floor(-5.0, -5.0, 10.0, 10.0, 1.0);
Floor floor(-5.0, -5.0, 10.0, 10.0);
In both cases, after floor is constructed, in the very first member
function of Floor that is called, r has changed to r= 2.37161e-310 and
meshOrder has changed to 0.
I really cannot understand what happens after the construction of
floor and before the first member function of Floor is called.
class Floor{
private:
//...
public:
Floor(double x0, double y0, double xM, double yM, double r = 1.0, int
meshOrder = 1);
//...
};
I have tried both of the following:
Floor floor(-5.0, -5.0, 10.0, 10.0, 1.0);
Floor floor(-5.0, -5.0, 10.0, 10.0);
In both cases, after floor is constructed, in the very first member
function of Floor that is called, r has changed to r= 2.37161e-310 and
meshOrder has changed to 0.
I really cannot understand what happens after the construction of
floor and before the first member function of Floor is called.