title: How to easily compile CUDA code on Windows?
body: <p>What is a good way to compile CUDA code in Windows?</p>
  
  <p>I tried in different ways, linking with Visual Studio and compiling from command line using nvcc command.</p>
  
  <p>Issues with visual studio. I followed most of the links for compiling, found in internet, but still I am not able to compile simple program.</p>
  
  <p>Issues with nvcc. Cannot find path windows.h. I tried adding include path of Visual Studio in nvcc.profile but it is not working?</p>
  
  <p>Does anyone have a good solution for this?</p>
  
  <p>I am using CUDA 4.2 and visual studio 2010.</p>