Getting current working directory with Cuda within Visual Studio

I installed Visual Studio 2008 and then the Cuda development kit. Now I wanted a cuda enabled
application to read a file of data, but it complained it could not find it (and the path was relative). I thought I could ask for the current working directory in the code, but I dont know what functions I can access apart from stdio and stdlib, which do not provide what I need.
Admmittedly it looks like I can set the project’s working directory in VS2008, but that does not answer
my general question: just what libraries are by default installed on the host when I use the CUDA toolkit?

gives you the basics, but you are better off using 2010 or 2012.

You can always use Google to search for such basic info.

Struth, that’s a really good tutorial.
Thanks, mate.