References for calculating cohomology rings I am struggling to calculate homology rings.
Even for a simple space such as the sphere, it is easy to calculate the cohomology, but I find it much harder to find the ring structure. (This link gives the answer for the 2-sphere, and the generalisation to the $n$-sphere is clear)
I have tried having a look at Hatcher's notes on this (specifically examples 3.7-3.9 on pp. 207-209). Specifically in Hatcher's book, he  claims that $\varphi_1 \cup \psi_1 = 0$ on all 2-simplcies, except the one with outer edge, $b_1$ which is where I got lost. 
I tried having a look at the sphere, which has a very simple cohomology, so I figured the cup product should be easy to calculate. I know that the only two non-zero homology groups are $H^0(S^1,\mathbb{Z}) \simeq \mathbb{Z}$ and $H^n(S^n,\mathbb{Z}) \simeq \mathbb{Z}$. So let 1 be the generator of $H^0$ and $x$ the generator of $H^n$ (do we say 1 in the $H^0$ case, as this is the unit of the ring?). Then we have the cup products $1 \smile 1$, $1 \smile x$, $x \smile 1$,$x \smile x$. I can guess that $1 \smile 1 = 1$, but what about the others? How does one calculate this in general? Obviously there is some something simple I am missing?
Is there another nice book that has some nice examples on calculating cohmology rings?
 A: Maybe I will at least show how the cohomology ring for the sphere works, based on the above. I will leave as community wiki, so it can be tidied up if something is not quite right. If I work out any other spaces, I will try explain them here as well.
Firstly, note that we know that there are only two non-zero cohomology groups $H^0(S^n,\mathbb{Z})\simeq \mathbb{Z}$ and $H^n(S^n,\mathbb{Z})\simeq \mathbb{Z}$. The element of degree 0 must be the unit of the ring (noting that cup product with $H^0$ is a map $H^k(X;\mathbb{Z}) \otimes H^0(X;\mathbb{Z}) \to H^k(X;\mathbb{Z})$). We therefore label the generator of $H^0$ as 1 and $H^n$ as $x$. The relations satisfied are therefore $1 \smile 1 = 1, 1 \smile x = x, x \smile 1 = x, x \smile x = 0$ (as we end in degree $H^{2n}=0$). We know that $$H^*(X;\mathbb{Z}) = \bigoplus_{p \ge 0} H^p(X;\mathbb{Z})$$ and so we have that $$H^*(X;\mathbb{Z}) \simeq \alpha_1 \cdot 1 \oplus \alpha_2 \cdot x, \quad \alpha_1,\alpha_2 \in \mathbb{Z}$$ with the relations as above. This is abstractly isomorphic to the polynomial ring $\mathbb{Z}[x]/(x^2)$, where $x$ is the generator of $H^n(S^n,\mathbb{Z})$
A similar calculation shows that the cohomology ring for $H^*(\mathbb{R} P^2, \mathbb{Z})$ is $\mathbb{Z}[x]/(2x,x^2)$ where $x$ is a generator of $H^2(\mathbb{R} P^2,\mathbb{Z})$
