c-course/c-basic/putchar.c

13 lines
130 B
C

#include <stdio.h>
#include <ncurses.h>
int main()
{
char ch;
while ((ch = getch()) != 'q')
putchar(ch);
return 0;
}