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 <[EMAIL PROTECTED]> 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.
> ==========================================
> 
> 
>
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" 
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to