$X$ a connected space ; if all continuous functions from $X$ to $\Bbb R$ are uniformly continuous, then X is a compact

286 Views Asked by At

Let $X$ be a subset of a normed vector space. $X$ is also a connected space. Show that if all continuous functions from $X$ to $\Bbb R$ are uniformly continuous, then X is a compact.

Need some help ; thank you :-)