So I have this code running on sublime text
#include <stdio.h>
int main()
{
int c;
printf("Type a letter: \n");
c = getchar();
printf("You typed '%c'. \n",c);
return(0);
}
When I try run this however, it just doesn't show anything at the bottom. Nothing seems to be wrong when I do a simply HelloWorld code but when using the getchar function, I always get a blank output as shown in this screenshot:
Any idea?