Error with nvcc Cuda 5.0

I wrote this simple code Cuda in Notepad:

global void add1( double * pi, double c )
*pi += c;

then I run it on command line in the current directory: nvcc
I received error with a lot of line “error : unrecognized token”
I don’t know what is it and how to fix it. Please help me!
I use Cuda 5.0, GPU 720M with Cuda-capable 2.0

I still correct it. Anyone can help me, please
and here is picture my program’s error in command line:

Thank you!