[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
quotes
From: |
Jeff Kingston |
Subject: |
quotes |
Date: |
Wed, 3 Nov 1993 09:17:08 +1100 |
Quotes are explained in the reference manual, section 2.1, apparently
not very successfully judging from the questions I get.
To get this You type this
" \"
\ \\
but these things only work inside "...". So the way to print quoted
strings in source code listings is like this (for example)
puts("hello\n"); puts("\"hello\\n\"");
In other words, you replace the opening " by "\", you replace the
closing quote by \"", and any \ inside you replace by \\.
Jeff.
[Prev in Thread] |
Current Thread |
[Next in Thread] |