From: cziwkga AT ulcc DOT ac DOT uk (Kevin Ashley) Newsgroups: comp.os.msdos.djgpp Subject: Re: what about the "\" Date: 16 Dec 1996 13:04:28 GMT Organization: University of London Computer Centre Lines: 23 Distribution: world Message-ID: <593hcs$166@calypso.ulcc.ac.uk> References: <9612111400 DOT AA05959 AT emma DOT ruc DOT dk> <5910ku$i59 AT s3 DOT iway DOT fr> <32B457C8 DOT 4940 AT exis DOT net> Reply-To: k DOT ashley AT ulcc DOT ac DOT uk NNTP-Posting-Host: silver-e.ulcc.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <32B457C8 DOT 4940 AT exis DOT net>, Joe Wright 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