want to achieve nonblocking read from stdin with C++ in Windows. I have 2 applications written in C++.
Applications A (parent) and the spawned applications B process (child). The idea is that Applications A will send some text with stdin to Applications B. Then Applications B must read character by character in nonblocking way.
My issue is not with Applications A, but with applications B.
- Your task is to explain how to make Applications B read character by character in nonblocking way and make working code from scratch how that is done correct in Windows environment with C++.
-It was possible for me to achieve this in Mac environment by using:
fcntl and read functions.
Hi, I am experienced kernel developer with more than 5 years of experience. I can code your non blocking reading program as per your requirement. I would love to do this program for you.