开发者

Multiple inputs in c++ console (windows)

I need to create a console application (c++ windows) as a subprocess that will accept input both by the user and by the parent parent process. I would like to know if 开发者_JS百科that is feasible and how.

Thanks. Panagiotis


This should be fairly straightforward:

  • stdin is the redirected input from the parent process or input pipe
  • open a file named "CONIN$" to get keyboard input from the console window
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜