I'm writing a chat. My problem is that when User A is typing their Message User B is already done with his. User A, still typing, receives the Message and it's messing up his Console Window.
I could wait until User A finishes typing his Message until I display User B's Message but that would be too easy. I read that it is possible to create two separate Console Windows (one for Input, one for Output).
Is there a way to do that?
For example two different threads access the Console Window with two different Cursors.
It seems like this is possible in ruby but I'm writing in C++.