CoPt(FePt)C nanocomposite thin films were prepared by a pulsed filtered vacuum arc deposition technique. Thermal annealing was performed in vacuum at various temperatures. The dependence of the magnetic properties on the carbon fraction and annealing temperature was studied. Both xray diffraction and magnetic force microscopy analyses confirmed the formation of nanocrystallites of facecenteredtetragonal phase of CoPt or FePt in the carbon matrix after annealing at a sufficiently high temperature. For the film with particular compositions of Co24Pt31C45 and Fe43Pt35C22,the coercivity and the grain size were observed to increase with increasing annealing temperature. For the Co24Pt31C45 film at an annealing temperature of 700℃, the coercivity was 2.1×105 A/m and the grain size was about 17nm. For the Fe43Pt35C22 film at an annealing temperature of 650℃, the values were 2.8×105 A/m and 105nm,respectively.