lius@reef.cis.ufl.edu (S. S. Liu) (03/23/91)
The attached C++ program will generate an error
`order' undeclared, outside of functions.
Is there any reason why "order" in the class scope was not recognized?
Please reply by email. Thanks for your help.
-- Prof. Sying-Syang Liu, lius@ufl.edu
SERC, CIS Department, University of Florida, U.S.A.
------------------------------------------------------------
class mway {
protected:
const int order; // order of the tree
int k[order];
public:
mway (int ord):order(ord){}
// others
};