M
mdh
Hi all,
I have a file, whose path is:
"/Users/m/k&R/test_file"
How do I include the '&' in a string constant? ( I need this for the
example on p162). I have tried to use the Hex notation x26, as in
"/Users/m/k\x26R/test_file".
On it's own, an ampersand in the literal causes an error. Using the
escape sequence, I get no error, but neither do I get the result I
want!
Could anyone give some guidance.
Thank you as usual.
I have a file, whose path is:
"/Users/m/k&R/test_file"
How do I include the '&' in a string constant? ( I need this for the
example on p162). I have tried to use the Hex notation x26, as in
"/Users/m/k\x26R/test_file".
On it's own, an ampersand in the literal causes an error. Using the
escape sequence, I get no error, but neither do I get the result I
want!
Could anyone give some guidance.
Thank you as usual.