I am trying to print the current dir with this code:
std::filesystem::path path = std::filesystem::current_path();
std::cout << "Current working directory: " << path << std::endl;
However, it prints out:
Current working directory: "C:\\Users\\Owner\\source\\repos\\fgetctest\\fgetctest"
Why does it have two backslashes instead of one?
Also, why does it start and end with quotes?
Thank you.