I am trying to prove that the metric space of continuous functions from [0,1] to $\mathbb{R}$ is not compact by examining $\lim_{n \to \infty} {f_n}(x) = \cos(2^n\pi x)$. I cannot think of a direct proof, so I think maybe it's best to show that the sequence converges to a function that is not Riemann integrable and therefore not continuous (outside the metric space). I'm sort of stuck after that...
(The metric for the space is ${d}(f_1,f_2) = {sup}_{x \in [0,1]}|f_1(x) - f_2(x)|$.)
Hint: Every compact metric space is bounded. Is $C[0,1]$ bounded?