Within classical thermodynamics everything can be deduced from the first and second law of thermodynamics, which reads
[tex]\mathrm{d} U=T \mathrm{d} S-p \mathrm{d}V+\mu \mathrm{d} N.[/tex]
The "natural independent" variables for the internal energy, [tex]U[/tex], are thus [tex]S[/tex], [tex]V[/tex], [tex]N[/tex].
Now, you like to calculate the specific heat at constant pressure and particle number. With [tex]U[/tex] this is not so simple to achieve, but you can go to another thermodynamical potential, the enthalpy, [tex]H[/tex] via the Legendre transform
[tex]H=U+ p V.[/tex]
Then we get
[tex]\mathrm{d} H = \mathrm{U}+\mathrm{d} p V + \mathrm{d}V p = T \mathrm{d} S + V \mathrm{d} p + \mu \mathrm{d} N.[/tex]
That means that the change of the enthalpy at constant pressure and constant particle number is identical with the change of heat [tex]\mathrm{d} Q=T \mathrm{d} S[/tex] and thus
[tex]c_p=\left( \frac{\partial H}{\partial T} \right )_{p,N} = T \left (\frac{\partial S}{\partial T} \right )_{p,N}.[/tex]