I am writing a c++ program that using console display like a notepad.
The program gets text from user on console , keeps it in double linked bi-directional linked list. Then displays the text on console.
But the problem is the size of the text to be written on the console screen must be limited. The text written by the user on console have to line up automatically after 100 characters(example).
Here I wrote function that display the text on console.
And the struct that keep the string(text).