Error building simple cuda project

GooD EveninG All,

I installed cuda driver , toolkit , computing SDK and visual studio 2008. But when I want to build a very simple cuda project ‘hello world’, it gives me this log

//

1>c:/Users/Hp/Documents/Visual Studio 2008/Projects/FirstCUDAProject/FirstCUDAProject/sample.cu(4): error: this declaration has no storage class or type specifier
1>c:/Users/Hp/Documents/Visual Studio 2008/Projects/FirstCUDAProject/FirstCUDAProject/sample.cu(4): error: expected a “;”
1>At end of source: warning: parsing restarts here after previous syntax error
1>Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”

//

How can I solve this error ?!.

Even I follows these instruction to start it.

Note : for the configuration ( add include files , library files and executable files ) , I wrote the whole path without $. And for input I wrote the whole path of cuda.lib and cudart.lib without ( ; ) between them

Thanks in advance