Home > Q&A > body text
使用java调用exe程序,因为exe输出结果后程序没有结束,一直在运行,所以当在readline的时候会卡住,不能进入那个循环里面,有没有办法可以解决这个问题
伊谢尔伦2017-04-18 09:54:21
You can use pipes directly, cprogram.exe | java your_module
PHP中文网2017-04-18 09:54:21
For this simple value transfer, use a file. C and C++ also share memory. Java has never been exposed to it
Home
Course
Q&A
My