The (singular) homology groups are derived from (singular) chain groups $C_n$, formed by linear combinations of mappings $\sigma:\triangle^n \to X$, for some space $X$. These linear combinations can be expressed $\sum_in_i\sigma_i$, where our coefficients $n_i$ come from some abelian group, typically $\mathbb{Z}$. $C_n(X;G)$ denotes the group of (singular) $n$-chains in a space $X$ with coefficient group $G$.
When we move to cohomology, we now have cochain groups $C^n$ defined $C^n(X;G)=Hom(C_n(X),G)$. However, this notation does not specify what coefficient group we are using for $C_n$. Is it just assumed that, in this case, $C_n(X)$ denotes $C_n(X;G)$? Is there a way to construct cohomology groups using a different coefficient group for $C^n$ than for $C_n$? I would appreciate some guidance on this question.