. . . "(a) Whoever shall, either in the nighttime or in the daytime, break and enter, or enter without breaking, any dwelling, or room used as a sleeping apartment in any building, with intent to break and carry away any part thereof, or any fixture or other thing attached to or connected thereto or to commit any criminal offense, shall, if any person is in any part of such dwelling or sleeping apartmen" .