C++ Project path

Hi,
I'm a beginner in C++. I'm using C++ in Visual Studio 2015 environment. I would like to read a text file in the directory folder of my project C++ without modifying the name (or string) every time I move the folder. For this reason I'm searching for a kind of function able to return directly the name of the progect directory:I want to avoid writing "C:\\Users\\...." but I want to write a function that gives me the path of my project C++.

 
ifstream inFile("C:\\Users\\Desktop\\ProjectC++\\Parameters.txt");


Have you some suggestion? Have I to add some directive?
Thank you
Topic archived. No new replies allowed.