Sorry, I couldn't edit the post. It should say "return foo;" in both examples. It is not the return-kommand thing that gives an error, I suppose....
How do i declare a method that returns a doublepointer to a subclass, outside the Class-definition ? That is, as of now I have Class House...
Separate names with a comma.