M
Michael Goerz
Hi,
why does the following result in an infinite loop when the user does
*not* enter a number?
do{
printf("Enter Number: ");
} while ( ! scanf("%i", &input) );
Thanks,
Michael Goerz
why does the following result in an infinite loop when the user does
*not* enter a number?
do{
printf("Enter Number: ");
} while ( ! scanf("%i", &input) );
Thanks,
Michael Goerz