my first short program need your help

This is a very short program…
ease help me check my first program,actually this program is just the predigestion of
the example named N-Body in SDK.

At first I just wanted to know CUDA better,but now I couldn’t compile it.

The source code was linked in the accessory.

Thanks so much.

what‘s the error?