Let $u$ be a continuous function. Assume for any $v$ that is continuously differentiable on $[0,1]$ and vanishes at the boundary points, $0$ and $1$, there exist a continuous function $f$ such that $$ \int u v' \ dx = - \int f v \ dx \ . $$
Show that $u$ is continuously differentiable and $u' = f$.
I have no idea what to do, please help.