So....
How can you add the "\" character in a C++ program?
Like, say you're adding a program path in a program.
like say,
How do you make it accept the backslash character as part of the string, instead of interpreting it as something like "\n"?
Like, say you're adding a program path in a program.
like say,
stringName = "C:\Users\Blablabla";
How do you make it accept the backslash character as part of the string, instead of interpreting it as something like "\n"?
thanks! I'll probably use the \\, but thanks for telling me that C++ had built-in ASCII support. Didn't know that 