developing text editor using C

Somebody kindly tell me as to how to develop a text editor using C language and ncurses library. Where can i get a ready source code for it?
Also kindly tell me what is ncurses library? How to use ncurses library? Kindly tell me about the books that i have to refer in order to develop a text editor for a mini project in my college.Also give me the details of the books that i have to refer to uderstand ncurses library. kindly give the details of the books which contain the source code of text editors designed in Clanguage using the ncurses library.Whoever reads this post kindly reply to <link edited: better to have all discussions on forums>
Posted in: #Coffee Room