How to show that for a continuous function on $\mathbb{R}$ that satisfies $-f(-x)=f(x)$ for all $x \neq0$ then $f(0)=0$
For $-f(-x)=f(x)$ to be true, it appears we must have an odd function without a constant at the end. You can tell this from examination (it's obvious for a linear function, but should also hold true for cubic functions and upward). So it seems obvious to me that the proposal is true, but I don't know of a theorem to prove my observation, or to move from my observation to an actual proof. Any help?
$$f(-x)=-f(x), \forall x \ne 0$$
$$\lim_{x \to 0}f(-x)=\lim_{x \to 0}-f(x)$$
By continuity, $$f(\lim_{x \to 0}-x)=-f(\lim_{x \to 0}x)$$
$$f(0)=-f(0)$$
$$2f(0)=0$$
$$f(0)=0$$