In C, the backslash ‘\’ is an escape. To indicate a backslash in a string, you need two backslashes, like this: ‘\\’

So everywhere where you have a single backslash, you in fact need two backslashes.