my first cuda program

hi,
i want to begin programming with CUDA in ubuntu 11.10
i have install cuda toolkit and SDK, i excute somme SDK exemole and its work .
now i want to edit my first program and i dont know how to do,
tkx for help