cout关闭输出缓冲,调试用

    cout.setf(std::ios::unitbuf);
原文地址:https://www.cnblogs.com/huashiyiqike/p/3912627.html