delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/28/15:26:39

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: String formatting problems
Date: Thu, 28 Aug 1997 07:02:40 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 17
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <34055AD0.545D@cornell.edu>
References: <34042ABC DOT 892782F5 AT phs DOT mat-su DOT k12 DOT ak DOT us>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0061.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Kevin Dickerson wrote:

>    char  *chr, *words[2000]; // that would be one freakin' huge dialog
> box. :-)

are you sure you are allocating memory for each of the two thousand
pointers in words?

-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 
*******************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019