For example, "Column1\tColumn2" means "Column1 <tab> Column2". Similarly, "Column1\nColumn2" means "Column1 <new-line> Column2"
Because the \ character has a special meaning, you cannot just use \ in a string constant to mean "backslash". You have to use \\
\\ gets replaced with \ in the same way that \t gets replaced with <tab> and \n gets replaced with <new-line>
Therefore, if you do the following:
...you should see the output "c:\windows\win.ini"
Oh, yes, undestand it.
string filename="c:\windows\win.ini"; is "c:\windows\win.ini"
string filename="c:\windows\nwin.ini"; is "c:\windows"
Soo, good work, it will not be until after the BS n or t.
To add comments, please log in or register