Let $C([a,b])$ be the space of all continuous real functions on the compact interval $[a,b]$. This space shall be endowed with the topology of pointwise convergence, which basis is given by
$\mathcal{B}=\{x_1,...,x_n;t_1,...,t_n,\epsilon_1,...,\epsilon_n| f(x_i)\in B_{\epsilon_i}(t_i),i=1,...,n\}$ where $B_\epsilon(t)$ is an epsilon ball around $t$ with radius $\epsilon$.
I was trying to obtain the connected components of $C([a,b])$.
Firstly, I figured that the space must be connected, because I can write it as a union of disjoint open sets, something like this $C([a,b])=\bigcup_{i\in \mathbb{N}}\mathcal{B}_i$. At least i hope i am correct with this.
If I wanted to try to write down the connected components of e.g. $g(x)\in C([a,b])$ I can be sure, that it could be found in at least one $\mathcal{B}$, where the values on the finite $x_i$ coincide for $f$ and $g$. If I were to choose another set of finite values at $x_i$ where $f$ and $g$ coincide then two sets $\mathcal{B}$ would contain $g$ and thus can not be disjoint. So the only connected component is $g$ itself. Is this correct?