关键词:fork(),stdin stdout,C++其实我想问的是象棋的ucci协议如何实现的..
http://blog.csdn.net/ce123_zhouwei/article/details/10470335