as you know, when using getch() in windows, the applications waits for you until you press a key,
how can i read a key without freezing the program , example :
void main(){
char c;
while(1){
printf("hello\n");
if (c=getch()) {
.
.
.
}
}
thank you.