Hi fellows,
We , in our college are supposed to code a text editor similar to the edit in dos using turbo c(i know its age old) without using any graphics (i.e no graphics.h utilities)
Since we are supposed to stick on to using C (no c++) I decided to use this opportunity to learn c in depth. So far i am able to display typed text and move cursor but i have these to problems
*) Which is the best data structure to store the text being displayed ? Currently i am using char array for testing purpose. Linked lists might fit in well but i want to know whether there are other efficient data structure or modified forms of data structure for this purpose ?
*) Secondly i don't have a clue on how to implement scrolling ? In one of the dos book there was an interrupt to do scrolling but i didn't understand how this worksWe are using framebuffer to display the text directly.
Can you people please help me out ?![]()


) without using any graphics (i.e no graphics.h utilities)
) I decided to use this opportunity to learn c in depth. So far i am able to display typed text and move cursor but i have these to problems
We are using framebuffer to display the text directly.
Reply With Quote


) amongst the students. Infact we are *starting* to learn data structures (from stack) now. This project is supposed to help us master C in better way and i think they are right. I am just a bit ahead of them
Also using qt at this level will be too fancy and i will be the odd one out.
Actually i meant interrupts.

Bookmarks