Strings in C (Re: ambiguous ?)

Peter da Silva peter at ficc.uu.net
Sat Oct 28 05:45:31 AEST 1989


I said:
>In most Macintosh C compilers that I've seen, the syntax !"%p...."! is

In article <2742 at hub.UUCP> pete at cavevax.ucsb.edu writes:
> Actually, the syntax is "\p...",

Ack. (takes aim at foot)

> but that's only a nit I had to pick.

I'm afraid it's not nitpicking. !\p! is an extension that doesn't conflict
with existing non-Mac code or working ANSI code. It's reasonable. I thought
it was !%p!, which conflict with "pointer" format in ANSI C.

(*BANG*)
-- 
`-_-' Peter da Silva <peter at ficc.uu.net> <peter at sugar.hackercorp.com>.
 'U`  --------------  +1 713 274 5180.
"That particular mistake will not be repeated.  There are plenty of mistakes
 left that have not yet been used." -- Andy Tanenbaum (ast at cs.vu.nl)



More information about the Comp.lang.c mailing list