To get the current directory of your project, the _fullpath(char *,const char*,int) can help you.
using namespace std;
cout<<"The current directory is:"<<buff<<endl;
Posted by: Ly | post date: 02-13-2013 | Subject: C++ Programming Language
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages: