|
-
July 1st, 2006, 03:55 PM
#1
console input/ouput at the same time
Hi guys, got a bit of a problem here with the console :S
Basically I have a few threads running at the same time, one of them is continuously getting input (std::cin.getline() , and the others are printing realtime data retreived via winsock.
My problem is that if you are halfway through typing a message, and another thread prints to the console, it all gets jumbled.
Picture here: http://www.aurj64.dsl.pipex.com/MessedUpConsole.jpg
Causing the output threads to wait until input has been received to print, is not an option.
Any suggestions would be appreciated
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|