Let $X$ be a topological space. If I know all the continuous functions from $X$ to $\mathbb R$, will the topology on $X$ be determined?
I know the $\mathbb R$ here is somewhat artificial. So if this is wrong, will it be right if $X$ is a topological manifold?
Spaces for which this is true are called completely regular. In fact, it is an equivalent characterization of completely regular spaces $X$ that their topology is entirely determined by the set $C(X)$ of real-valued continuous functions on them. In other words, there is a unique completely regular topology that makes all these and only these functions continuous. The standard definition however is this: given any closed subset $F$ and any point $x\not\in F$ there is a continuous real-valued function $f$ on $X$, which is constant $1$ on $F$ but $f(x)=0$. Any regular normal space is completely regular by the Urysohn's lemma, and topological manifolds are certainly completely regular.