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
精彩评论