Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-10-2008, 04:41 PM   #1
LQ Newbie
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
Question NCURSES form help!! how to gather information?


I have been reading almost every ncurses tutorials or how-to. but i still can't find the answer of my simple problem..

if i use form library of ncurses, how can I gather the information of those fields??

example, i want to make a form where ppl can fill out with their name, age, birth, and then I want to save those information into my variable, name, age,bir etc..

Language: C

Last edited by kossel; 01-11-2008 at 12:54 PM.
Old 01-11-2008, 08:55 AM   #2
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
...which language are you writing this in? Ncurses is available for C, C++, Python, ..., and so on.
Old 01-11-2008, 12:55 PM   #3
LQ Newbie
Registered: Jan 2008
Posts: 2

Original Poster
Rep: Reputation: 0
sorry I forgot to mention, I'm using C
and I got something, is it the function char *field_buffer(FIELD *field, int)?

Last edited by kossel; 01-11-2008 at 01:07 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ncurses version information msgforsunil Linux - Software 1 07-17-2006 03:27 PM
tool to gather network information paul_mat Linux - Networking 3 01-18-2006 05:01 AM
ncurses -- any information mili Programming 11 06-08-2005 10:34 AM
gather login information gsanand Programming 0 10-21-2004 06:45 PM
How do I gather information on the video adapter gianh Linux - General 1 04-22-2004 08:33 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration