摘要: #include #include #include int _kbhit() { static const int STDIN = 0; static bool initialized = false; if (! initialized) { // Use termios to turn off line buffering termios term; tcgetattr(STDIN, &term); term.c_lflag &= ~ICANON; ... 阅读全文
posted @ 2013-09-28 16:41 帕拉美 阅读(695) 评论(0) 推荐(0)