For general metric space, is it true that if all real valued function is bounded, then subset is compact?
If every real-valued continuous function is bounded on $X$ (metric space), then $X$ is compact.