I want to create a search function doing the following:
(example) 1
Search menu
Search for: Ander|
Result
Andersen J.
Andersen N.
Andersson H.
(example) 2
Search menu
Search for: Anderse|
Result
Andersen J.
Andersen N.
I dont know how to explain it simple, but I want the program to show the result at the same time the user is typing the search frase, and the results should be presented below the user input.
Where can I find information about how to do this?
well the basic idea your getting at is anytime there is user input you do the search and update the results appropriately. On a command line program you would probably want to use something like ncurses if your writing a gui application its pretty easy and the gui framework would have plenty of resources on it.