E
ern
printf("C:\myfile.txt");
prints as
C:myfile.txt
How do I specify string literal ?
prints as
C:myfile.txt
How do I specify string literal ?
ern said:printf("C:\myfile.txt");
prints as
C:myfile.txt
How do I specify string literal ?
Mike Wahler said:I doubt that. I suspect the compiler complained.
(because there's no '\m' character).
Mark B said:I doubt *any* of my compilers would complain about that...
which compiler do you use which *does* check for and
report issues with invalid escape sequences in format
strings?
Mark B said:I doubt *any* of my compilers would complain about that...
which compiler do you use which *does* check for and
report issues with invalid escape sequences in format
strings?
I doubt *any* of my compilers would complain about that...
which compiler do you use which *does* check for and
report issues with invalid escape sequences in format
strings?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.