Search:

Type: Posts; User: Salem

Search: Search took 0.51 seconds.

  1. Replies
    6
    Views
    5,540

    Regardless, it's still just as unsafe as gets()....

    Regardless, it's still just as unsafe as gets().
    It would be better to use fgets().
  2. Replies
    6
    Views
    5,540

    Using a compiler that can tell you about...

    Using a compiler that can tell you about printf/scanf mess-ups would be a big bonus.


    $ gcc -Wall foo.c
    foo.c:4: warning: return type defaults to ‘int’
    foo.c: In function ‘main’:
    foo.c:9:...
Results 1 to 2 of 2