Multithreaded console I/O

前端 未结 3 905
旧巷少年郎
旧巷少年郎 2020-12-31 16:30

I\'m using a console in my multithreaded application. Right now, it only accepts output (printf and the like) and so far I have no issues. However, I want to be able to su

3条回答
  •  执念已碎
    2020-12-31 16:49

    To disable echoing characters check this out: Reading a password from std::cin

    Maybe combine that with this guy's blog post on non-blocking Win32 console io.

    You might also find this stuff useful: conio.h, pdcurses

提交回复
热议问题