Was wondering how you would be able to test the input that is saved in an char array like...
char input[INPUT_SIZE];
And using
fgets(input,INPUT_SIZE,stdin);
To get the input from the user but was wondering how i could use a if statement to test if the users input has been for example ctrl + d or any ctrl + anykey?
I tryed using there ascci value like this.. is an example to test for ctrl d
if(result = 'EOT') {printf("EOT");}
Result is a char array aswell.