根据 C++11 标准 (§1.9.8):
The input and output dynamics of interactive devices shall take place in such a fashion that prompting output is actually delivered before a program waits for input. What constitutes an interactive device is implementation-defined.
GCC、Clang等编译器是如何定义“交互设备”的?
最佳答案
关于c++ - 交互设备的定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21592083/