Proof that if $(X,d)$ is a metric space and $\forall f:X\to \Bbb R, (f\text{ continuous} \implies f \text{ is bounded})$ then $X$ is compact
If every real-valued continuous function is bounded on $X$ (metric space), then $X$ is compact.