Mail Archives: djgpp/1996/12/16/23:00:41
In article <32B457C8 DOT 4940 AT exis DOT net>, Joe Wright <wrightj AT exis DOT net> writes:
|>sherlock AT pratique DOT fr wrote:
|>>
[Original question regarding loss of naked "\" in string, and a
correct answer, snipped]
|>Is it worth pointing out that strcpy() doesn't know anything about
|>escapes?
|>It is only when you give it to printf() that things go awry.
|>
|>Joe Wright
|>
Sorry, you're wrong Joe. Neither strcpy nor printf deal with escapes -
string escapes are dealt with at compile time, along with trigraphs and
concatenation of adjacent string constants.
------------------------------------------------------------------------------
Kevin Ashley K DOT Ashley AT Ulcc DOT ac DOT uk
Development Manager http://www.ulcc.ac.uk/staff/Kevin+Ashley
University of London Computer Centre. ...ukc!ncdlab!K.Ashley
This is not a signature
- Raw text -