Search:

Type: Posts; User: TheIggle

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    5,349

    Thank you very much, I used a getchar(); directly...

    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?
  2. Replies
    3
    Views
    5,349

    do - while loop ignores getchar()

    Hi,
    my problem is pretty much summarized in the title, following code:



    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>

    int main ()
Results 1 to 2 of 2