The heat capacity is defined as: 
dT: temperature change
d'Q: heat added to the system
Heat capacity (Constant Volume )
For constant volume, the heat capacity is defined as:
C = dU / dT
Heat capacity (Constant Pressure )
For constant pressure, the heat capacity is defined as:
C = d'Q / dT