Search:

Type: Posts; User: anduril462

Search: Search took 0.12 seconds.

  1. Replies
    11
    Views
    7,385

    Read this: FAQ > main() / void main() / int...

    Read this: FAQ > main() / void main() / int main() / int main(void) / int main(int argc, char *argv[]) - Cprogramming.com.
  2. Replies
    11
    Views
    7,385

    Post the exact code that didn't work, and what...

    Post the exact code that didn't work, and what input you gave, that caused this problem. I don't see argv[2] being copied into a temp var anywhere.
  3. Replies
    11
    Views
    7,385

    EDIT: Woah, I guess I got carried away at work...

    EDIT: Woah, I guess I got carried away at work for longer than I thought...opened this thread a while ago, several people already covered this.

    This is certainly a problem:

    isdigit(argv[2])...
Results 1 to 3 of 3