I am having trouble with a homework problem. This is the problem:
Determine whether the set, together with the indicated operations, is a vector space. If it is not, then identify at least one of the ten vector space axioms that fails. $\mathcal C\,[-1,1]$, the set of all continuous functions defined on the interval $[-1,1]$, with the standard operations.
Any continuous function from a connected space to a totally disconnected space must be constant, and thus any continuous function from $[-1,1]$ to a totally disconnected vector space $V$ (such as a finite-dimensional vector space over $\mathbb F_p$ or a number field, with the topology induced by the base field) is constant. So the set of continuous functions from $[-1,1]$ to $V$ is in bijection with $V$ via the map $f\mapsto f(0)$ and thus can be endowed with its vector space structure (induced by the bijection), so $\mathcal{C}[-1,1]$ is a vector space.
I'll leave the more difficult case of connected fields for another user.