[ale] gets() in C++

David S. Jackson dsj at dsj.net
Tue Jun 27 16:50:46 EDT 2000


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.





More information about the Ale mailing list