-
[C++] 키입력을 위해 curses.h 사용하기Programing/C and CPlusPlus 2019. 3. 4. 14:17
#include "curses.h" using namespace std; int main() { char ch; do { ch = getch(); putchar(ch); } while (ch != 'e'); return 0; }
$> gcc -lncurses main.cpp'Programing > C and CPlusPlus' 카테고리의 다른 글
[C] Key Press (0) 2019.03.04 [C++] Exception overloading (0) 2019.02.25 [C++] std::bind (0) 2016.07.27 C++ Programing (0) 2014.02.23 C++ 복사생성자/대입연산자 (0) 2012.07.04