[LC++][OT] Which structure to choose
Torsten at rennett.de
Mon Feb 26 19:34:12 UTC 2007
On Sunday 18 February 2007 20:26, Julien Claassen wrote:
> Hi all!
> I'm still working on a console-based UI-library and I wonder in which
> structure to store my screen-objects. Each object derives from a common
> base. I want to be able to do the following:
> 1. Probably search through all elements for a given word or whatever.
> 2. move down/up left/right. So If i'm in row 1/column 13 and press
> cursor down, the cursor is positioned on the element, which is placed in
> row 2/column 10.
> Any good idea, an example, where someone had to solve a similar
Did you consider to use ncurses?
There's also a C++ API:
Ingenieurbuero RENNETT -- innovative Software-Entwicklung --
Torsten Rennett http://www.RENNETT.de
Ludwig-Thoma-Weg 14 E-Mail: Torsten at Rennett.de
D-85551 Heimstetten Telefon: +49 89 904 805 38
More information about the tuxCPProgramming