Untitled
public text v1 · immutable#include <stdio.h>
#include <curses.h>
int main (void)
{
char option;
do
{
printf("Hit a key:");
option = getch();
printf("\nYou typed %c\n", option);
}while(option != 27);
}#include <stdio.h>
#include <curses.h>
int main (void)
{
char option;
do
{
printf("Hit a key:");
option = getch();
printf("\nYou typed %c\n", option);
}while(option != 27);
}