What don't you understand about the error message? You haven't defined a variable with the name of mycity in your Rec class. The mycity variable in your Anotherclass class would not be the same, plus you never defined an instance of Anotherclass either.
By the way what is with all of those pointers.
Why are you trying to create a vector of Rec inside your Rec class. Normally your vector would be external to the class.