TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Bob Liles
from: Joe Kelch
date: 1995-04-14 18:59:00
subject: BORLAND STRINGS 2/2

-> How about
-> {
-> char *StrName; StrName = (char *)malloc(4096); gets(StrName); StrName =
-> (char *)realloc(StrName, strlen(StrName) + 1); }

AHA!!!  Now there's an answer.  Cumbersome, but it does the job!  I'll have to
remember that one.  Maybe turn it into a function for repeated use...

--- PCBoard (R) v15.21/M 10
* Origin: PerryHall BBS 410.529.2006 (1:261/1170)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 261/1170 1087 1023 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

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™.