Ooh nice, they enabled hyperlinks for people with less than 50 posts :)
First problem:
prog.cpp:10: error: ISO C++ forbids declaration of ‘Room’ with no type
In C++, unlike Java, the order in which things are defined is very important. Since Room is defined after House, the compiler gets very angry at you. Fix that first and then repost the IDEOne link to your new program. (Thanks for using IDEOne!)