TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: KURT KUZBA
from: DAVID J PORTER
date: 1998-01-21 14:19:00
subject: Pointer to a string

  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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.