C strings suck!
utzoo!decvax!ittvax!swatt
utzoo!decvax!ittvax!swatt
Fri May 13 09:38:56 AEST 1983
This is an oft-heard complaint about C. If you really require dynamic
strings supported directly in the language, pick another language.
Otherwise make the best of it you can with an appropriate library
package. I just perused my old USENET net.sources archive and came
up with:
From sdcarl!rusty Wed Jun 9 22:31:20 1982
Subject: charb
Newsgroups: net.sources
====> charb.3 <====
.TH CHARB 3
.SH NAME
cballoc, cbrealloc, fgetcb, makcb, cbbuf, cbmax, cbcat,
cbncat, cbcpy, cbncpy \- operations for variable length strings
.SH SYNOPSIS
<and so on ...>
I'm sure there are several out there besides this one.
- Alan S. Watt
ittvax!swatt
More information about the Comp.lang.c
mailing list