PDA

View Full Version : how to make aText Editor by using linked list in C++



bahador.saket
June 29th, 2010, 12:30 PM
Dear all

I am going to write a text editor using linked list but exactly I do not have any idea about this project and I do not know how to start the program. Can you give me some ideas for beginning plz?

Any help would be must appreciated.


Regards,
Bahador Saket

Zugzwang
June 29th, 2010, 12:55 PM
Your request seems to fall under the homework policy, so I'll just give you some general advice:


Try to collect a list of functions your program must have.
Look up details about linked list. What could the linked list be used for in your case?
Try to devise suitable data structures for your task; check if the data structures allow to efficiently perform all necessary operations that you identified beforehand. If not, redesign the data structures such that they do.
Then familiarise yourself with the "development" environment (programming language, GUI widget kit, etc.)
Read examples that are close to what you want to do.
Develop a program structure for your editor
Implement all parts that you idenfitied in your program structure
While developing, constantly write tests for the parts you have written.
Do some alpha/beta testing of your application. Fix bugs.