Define std::string in C++ without escape characters
c++, escaping, string
Solution
For filenames, just use (forward? back?) the other direction slash. It works on Windows too:
std::string st = "C:/program files/myFile.txt";
Problem
What would be the most painless way to input un-escaped characters sequence to `std::string`? Instead of ``` std::string st = "C:\\program files\\myFile.txt"; ``` something like: (Doesn't work correctly due to escape characters). ``` std::string st = "C:\program files\myFile.txt"; ```