to "OR" or not to "OR"

Richard A. O'Keefe ok at goanna.cs.rmit.oz.au
Thu May 30 15:43:01 AEST 1991


In article <RICHARD.91May29092137 at lambda.iesd.auc.dk>, richard at iesd.auc.dk (Richard Flamsholt S0rensen) writes:
> >>>>> On 28 May 91 23:12:53 GMT, bliss at sp64.csrd.uiuc.edu (Brian Bliss) said:
> > What if I want to use the sequence "??!" within a string?
>   puts("Too bad - it is impossible to use ??""! in a string  :-)");

One method is to use string pasting:
	printf("Puzzled?" "?!  You don't need to be!\n");
That's also useful for terminating hex escapes.

-- 
Should you ever intend to dull the wits of a young man and to
incapacitate his brains for any kind of thought whatever, then
you cannot do better than give him Hegel to read.  -- Schopenhauer.



More information about the Comp.lang.c mailing list