If $C$ is a complex, show that there are exact sequences of complexes: $$ 0 \longrightarrow Z(C) \longrightarrow C \stackrel{d}{\longrightarrow} B(C)[-1] \longrightarrow 0; $$ $$ 0 \longrightarrow H(C) \longrightarrow C / B(C) \stackrel{d}{\longrightarrow} Z(C)[-1] \longrightarrow H(C)[-1] \longrightarrow 0. $$
$$ \cdots\xrightarrow{} C_{n+1}\xrightarrow{d_{n+1}}C_{n}\xrightarrow{d_{n}}C_{n-1}\xrightarrow{d_{n-1}}\cdots $$
I know there is an injective map $i_n: Z_n(C)\to C_n$, since $Z_n(C)=\ker(d_n)\subset C_n$. Could you please tell me how to get other maps? Thanks in advance.