Let $X$ be a topological space and let $\mathcal{F}(X,\Bbb R)$ be the set of continuous function from $X$ to $\Bbb R$.
Can we recover the topology of $X$ by only the knowledge of $\mathcal{F}(X,\Bbb R)$?
That is, can we determinate whether or not a subset $U$ of $X$ is open only by using $\mathcal{F}(X,\Bbb R)$?
If not, is there an example of two distinct topologies $\mathcal{T_1}$ and $\mathcal{T}_2$ on a set $X$ such that $$\mathcal{F}_{\mathcal{T}_1}(X,\Bbb R)=\mathcal{F}_{\mathcal{T}_2}(X,\Bbb R)\,?$$
I know from this question that we can indeed recover the topology of $X$ if we consider instead continuous functions from $X$ to $\{0,1\}$ with topology $\big\{\emptyset,\{1\},\{0,1\}\big\}$. But what about the case $X=\Bbb R$?
There is a counterexample with $X=\{1,2\}$; since there aren't many topologies on that space you should have no trouble finding two that give the same continuous real-valued functions.
If you know that $X$ is a compact Hausdorff space then you can recover the topology from $\mathcal F(X,\Bbb R)$. Because the space of continuous functions is a Banach algebra, and it turns out that the maximal ideal space is $X$.