4
Answers

single foward slash....

veronica.rodriguez

veronica.rodriguez

21y
6.7k
1
Hello all..... I have a file name that am putting into a string... "C://myFile.txt"... I am fully aware of the using a '/' as an escape character. Therefore, when Windows interprets it, It reads it as "C:/myfile.txt"... Great... Fabulous... The problem is that I am writing an FTP Client class and when I send it the string with the escaped string... Unix does not know about the escape sequence... so I get an error... I also tried creating a char object and concatinating it with in the string.... Well the compiler automatically turns it into an escape sequence.... NOT GOOD!!! My question...... Does anyone know how to write in a single foward slash into a string???

Answers (4)