On Apr 6, 2:14*pm, mickCyber <CyberM...@nospam.com> wrote:
> I'm looking for some ideas on how you would do that:
>
> I've random pop up messages which i have to write each on a single line.
> Now the newest is on top, older fall down one line at each new message.
> But also go back up one line whenever one message between is not valid
> anymore.
The STL should be your friend. You could use a std::list<>, or
perhaps a std::map<> keyed on time, depending on how you plan to find
the invalid messages for removal....
Cheers,
Tony
|