|
From: Robson B. <rob...@su...> - 2003-03-04 23:46:27
|
The function getchar() returns an int number that represents a char. See
below:
#include <stdio.h>
void main()
{
char letter;
puts("type key then [ENTER]");
do {
//your stuff goes here
} while(getchar() != 'a');
}
hope it helps!
|