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

-> JK> Only problem is, I don't see how this is going to help you
-> JK> in case of a string that you simply don't know in advance
-> JK> what size it will be.  It's a Catch-22; either you must get
-> Yes, you do. fgets, and you can decree how long it will be.

You don't understand.  fgets() still requires the programmer to give a size to
the string BEFORE the user inputs the information.  That's what I'm trying to
avoid.  I want the users input to determine the string size.  Apparently C
doesn't allow you to do that...

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