hardcoded constants
Peter da Silva
peter at ficc.uu.net
Sat Dec 17 10:54:17 AEST 1988
In article <33604 at think.UUCP>, barmar at think.COM (Barry Margolin) writes:
> 1) When I've done this in other languages, I've used something like
> strlen("/") instead of the 2. Unfortunately, in C I'd still have to
How about sizeof "/"? Or does that return sizeof(char *)?
--
Peter da Silva, Xenix Support, Ferranti International Controls Corporation.
Work: uunet.uu.net!ficc!peter, peter at ficc.uu.net, +1 713 274 5180.
Home: bigtex!texbell!sugar!peter, peter at sugar.uu.net.
More information about the Comp.lang.c
mailing list