A flophouse or doss-house is a place that offers very low-cost lodging, providing space to sleep and minimal amenities.
Bunks in a Seven Cent Lodging House, c. 1890
A flophouse-style room
A tramp is a long-term homeless person who travels from place to place as a vagrant, traditionally walking all year round.
A romanticized tramp depicted in an 1899 U.S. poster
"A Tramp's Nest in Ludlow Street", How the Other Half Lives: Studies Among the Tenements of New York (1890), by Jacob Riis