I am using the fgets
Bu the program skips right over it, going on the the rest of the code, even thought I haven't typed a single letter.
Thanks
Code:
char extraString[20];
i=0;
while (i!=20)
{
extraString[i]=0;
i++;
}
i=0;
fgets(extraString, 20, stdin);
Bu the program skips right over it, going on the the rest of the code, even thought I haven't typed a single letter.
Thanks