Thank you very much, I used a getchar(); directly after the scanf() to clear it and it is working now. Is this a feasible solution or should I use something else?
Type: Posts; User: TheIggle
Thank you very much, I used a getchar(); directly after the scanf() to clear it and it is working now. Is this a feasible solution or should I use something else?
Hi,
my problem is pretty much summarized in the title, following code:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main ()