For Programmers: Free Programming Magazines  


Home > Archive > C > February 2006 > Re: scanf (yes/no) - doesn't work + deprecation errors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: scanf (yes/no) - doesn't work + deprecation errors
Keith Thompson

2006-02-25, 6:55 pm

"Rod Pemberton" <do_not_have@sorry.bitbucket.cmm> writes:
> "Keith Thompson" <kst-u@mib.org> wrote in message
> news:lnhd6oi3np.fsf@nuthaus.mib.org...

[...]
>
> Why stop with gets()? Why don't you just list all features of C you think
> are
>
> 1) unsafe
> 2) useless
> 3) unstructured
> 4) lacking sufficient bits, etc...
>
> Mentally remove the features from C, and ask yourself this: "Have I
> recreated Java? Or worse, Pascal?"


You really haven't been paying attention, have you?

I'm stopping with gets() because gets() is uniquely dangerous.
The reasons have been explained many times.

--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com