Let $X$ be a compact Hausdorff space. I would like to find a (minimal) condition on $X$, which is sufficient to guarantee that one can always find a non-constant continuous function
$f : X \to \mathbb{C}$.
Clearly we need to assume that $|X|>1$, but what else can we say?