What is the cohomology ring $$ H^*(\mathbb{R}P^\infty;\mathbb{Z})?$$ $$ H^*(\mathbb{R}P^n;\mathbb{Z})?$$
for mod 2 coefficient, the answer is on Hatcher's book and Proving that the cohomology ring of $\mathbb{R}P^n$ is isomorphic to $\mathbb{Z}_{2}[x]/(x)^{n+1}$. For the graded module structure, it is obtained from the homology struture.