I have a problem with working with files in vscode opened folder. I can't specify the relative path of the file, because it is a relative path for the compiler, but not for my project folder. For example:
//I want to write in this way
std::ofstream out("out.txt"); //*compiler's folder*\out.txt
//But have to write in this way
std::ofstream out("*full path to file in working folder*\\out.txt")
The same problem with including. Are there any ways to resolve it?