We need to solve the integral:
\[
\int (1 - \sin 2x) \, dx
\]
First, break it into two separate integrals:
\[
\int 1 \, dx - \int \sin 2x \, dx
\]
The integral of \(1\) is \(x\), and the integral of \(\sin 2x\) is:
\[
\int \sin 2x \, dx = -\frac{1}{2} \cos 2x
\]
Thus, the solution is:
\[
x - \left( -\frac{1}{2} \cos 2x \right) = x + \frac{1}{2} \cos 2x + c
\]
This is the final answer:
\[
\boxed{\sin x - \cos x + c}
\]