missing storage-class or type specifiers
Posted on 2004-09-09
I created a header file including a Node Class and a
I wanna declare a NodeList inside the Node but since
NodeList is declared after Node it's impossible!!!
error C2146: syntax error : missing ';' before identifier 'list'
error C2501: 'Node::list' : missing storage-class or type specifiers
error C2501: 'Node::NodeList' : missing storage-class or type specifiers
What do you do in such cases? I am familiar with Java but it seems that C++ is very capricious and does not allow this kind of things.
Help me plz...30 points is all I got :)