From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rechberger Markus Subject: Re: ncurses problem Date: Thu, 10 Feb 2005 15:28:30 +0100 Message-ID: References: <420B365D.7090109@hq.ntsp.nec.co.jp> Reply-To: Rechberger Markus Mime-Version: 1.0 Content-Transfer-Encoding: 7bit In-Reply-To: <420B365D.7090109@hq.ntsp.nec.co.jp> Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hey Earl! try FIELD *fields[3]; and fields[2] = NULL; I wondered how should new_form know when the array ends.. regards, Markus On Thu, 10 Feb 2005 18:24:29 +0800, Earl R. Lapus wrote: > hi there, > > i have a problem using ncurses. i attached the source code with this email. > this program displays two text fields. my problem occurs when i add this, > `char buff[256];` after the declaration, `int ch;`. > after adding the character array declaration, the text fields won't > display anymore. > any ideas? > > -earl-. > > -- > ========================================== > There are seven words in this sentence. > ========================================== > > >