b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
dArtagnan (达达尼昂) 于 (Thu Mar 13 23:19:06 2008) 提到:
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 tha |
|