Message-ID: <3B1FD7F1.CE8A9868@netzero.net> Date: Thu, 07 Jun 2001 14:37:21 -0500 From: "Kenneth A. Strom" X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: String Size Allocation Question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 4.4.8.213 X-Original-NNTP-Posting-Host: 4.4.8.213 X-Trace: excalibur.gbmtech.net 991942266 4.4.8.213 (7 Jun 2001 15:31:06 EST) Organization: GBM Technologies Ltd Lines: 13 X-Authenticated-User: therelic X-Original-NNTP-Posting-Host: 127.0.0.1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I think this is more of a C question than djgpp specfic but, I want to work with a big text list of varying size string, reading/writing to files and manipulating the strings won't be a problem, but I am wondering if there is some effective way of allocating the minimum amount of space needed for each string as they are added to the list since they could vary greatly in size (ex. one could effectively be char string[100] another char string[50]). Ken. therelic AT netzero DOT net