옵션 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #include<stdio.h> #include<conio.h> int main() { while(1) { if(kbhit()) { printf("great"); break; } } return 0; } | cs |
1 2 3 4 5 6 | import msvcrt while 1: if msvcrt.kbhit(): print "great" break | cs |