since it is nested class it would be



hotel::room::room(int x, bool y):RNum(x),isSmoking(y), bill(0.0), occNum(0), nights(0)
{
}


Also in C++ you do not need to add void for empty...