Kurt Kuzba,
In a message on 19 January, to Roger Scudder, wrote :
KK> typedef struct{ char S[128]; } String;
While this gives some functionality that may be considered a string (which
strictly speaking is not) it can also cause errors by disguising the fact
that 'String' is only a string-like type.
Which brings me to my question...
Are there any true 'string' libraries available for C? I.e. that handle
arbitrary length strings a la BASIC and other such languages that have
string as a intrinsic type.
Cheers,
DJP
...
* ATP/Linux 1.42 * I have seen the future and it is now the past.
--- Maximus 3.01
---------------
* Origin: The Farm - Christchurch, NZ, +64-3-385-4750 (3:770/255)
|