If I understand the question correctly, you want to know how:
$\displaystyle F'(x)= \int_0^x f(u)du \implies F(x)=C+\int_0^xF'(u)du$
My book (Spivak's Calculus) provides three theorems can be used to explain this implication:
If $g$ is integrable on $[a,b]$, then the function $G(x)=\displaystyle\int_a^x g(u)du$ is continuous on $[a,b]$...i.e. for any $x \in [a,b]$, $G$ is continuous at $x$ $\quad (\dagger_1)$
If $g$ is continuous on $[a,b]$, then $g$ is integrable on $[a,b]$ $\quad (\dagger_2)$
If $g$ is integrable on $[a,b]$ and $g=h'$ for some function $h$, then $\displaystyle \int_a^b g(u)du = h(b)-h(a) \quad (\dagger_3)$
By assumption, we know that $\displaystyle F'(x)= \int_0^x f(u)du$. Further, the problem statement originally tells us that $f$ is continuous. By $(\dagger_2)$, this means that $f$ is integrable on any closed interval $[a,b]$. Accordingly, for sake of argument, let us set our sights on the interval $[0,b]$ for any $b \gt 0$. Therefore, for any $x$ such that $0 \leq x \leq b$, we know that $F'(x)$ is defined. By $(\dagger_1)$, we know that $F'$ is a continuous function on $[0,b]$.
Because $F'$ is continuous on the interval $[0,b]$, $(\dagger_2)$ informs us that $F'$ is integrable on $[0,b]$. Of course, then, it is integrable on $[0,x]$ for any $x \in [0,b]$.
By $(\dagger_3)$, we then have that $\displaystyle \int_0^x F'(u)du=F(x)-F(0)$. Rearranging terms gives us: $\displaystyle F(x)=F(0)+\int_0^xF'(u)du$. Clearly, $C=F(0)$. Further, given how $F$ is initially defined, it should be obvious that $C=F(0)=0$.