Hi there, im a c++ noobie. I have a class called node. Node has a data member id. When i try and access id in the obect named f outside of main visual studio 2003 gives me the errors:
: error C2065: 'f' : undeclared identifier
error C2228: left of '.id' must have class/struct/union type
type is ''unknown-type''
thanks in advance