Which functions from the standard library must (should) be avoided?

Deprecated Functions Insecure A perfect example of such a function is gets(), because there is no way to tell it how big the destination buffer is. Consequently, any program that reads input using gets() has a buffer overflow vulnerability. For similar reasons, one should use strncpy() in place of strcpy() and strncat() in place of … Read more

Are IFrames (HTML) obsolete? [closed]

Support for <iframe> is still there in HTML 5, so I don’t think this will change in the near future. To answer your other questions: <iframe>s (as frames in general) are most of the time not user-friendly: They don’t allow easy access of the content in the frame via an URL (without losing the content … Read more

Why is Java Vector (and Stack) class considered obsolete or deprecated?

Vector synchronizes on each individual operation. That’s almost never what you want to do. Generally you want to synchronize a whole sequence of operations. Synchronizing individual operations is both less safe (if you iterate over a Vector, for instance, you still need to take out a lock to avoid anyone else changing the collection at … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)