[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] gets() in C++



Can anyone tell me why using gets() in C++ might be unsafe?  When
I compile a C++ program using it I get a warning from a compiler
in FreeBSD that says:  Program uses gets(); this might be unsafe.

I'm just using c++ -o string string.cc for an invocation.

Sheesh!  :-(  

--
David S. Jackson                       http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Fear of misfortune is worse than misfortune itself.
            --Najile S. Khoury
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.