Prove that the function $f(z)=\frac{1}{z}$ has an antiderivative on any simply connected domain of $\Bbb C$ which does not contain zero.
Also prove that this function does not have an antiderivative on its entire domain.
I feel as if I have to use a lot of topology to prove these facts and I am not as proficient in that area as I would like to be.
With your hypotheses, use residue thm to show that if you integrate $1/z$ on any simple closed curve (in your simply connected domain which avoids origin), it integrates to zero. Pick a point $c$ in your domain. Set $f(z) = f(c) + \text{ integral of } (1/z)dz$ along any path from $c$ to $z$. Previous sentence implies this is independent of path, hence well-defined. Fundamental theorem of calc for rest