I have been having trouble finding a suitable counterexample to my problem, which I have written below.
For each $n\geq 1$, let $f_{n}\colon \mathbb{R}\to\mathbb{R}$ be a continuous function and suppose that the sequence of functions $(f_n)_{n=1}^\infty$ is uniformly bounded. If $f_n \xrightarrow[n \to \infty]{} f$ pointwise on $\mathbb{R}$, where $f\colon \mathbb{R}\to\mathbb{R}$ is continuous, can it be concluded that $f_n$ converges to to f uniformly on $\mathbb{R}$?
I think the answer is no, but I can't think of a counterexample. Thanks for any help in advance.