Search:

Type: Posts; User: laserlight

Search: Search took 0.40 seconds.

  1. Replies
    16
    Views
    6,776

    Please read my post #12: we appear to have posted...

    Please read my post #12: we appear to have posted at almost the same time.
  2. Replies
    16
    Views
    6,776

    This: scanf("%s", &name); should be: ...

    This:

    scanf("%s", &name);
    should be:

    scanf("%s", name);
    since name will be converted to a pointer to its first element.

    As stated earlier, remove the fflush(stdin).
Results 1 to 2 of 2