| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | gets |
05 Jan 96 23:31, Roy McNeill wrote to David Nugent: DN>> Summary: gets() is dangerous - don't use it. DN>> I'm surprised you haven't seen warnings though - most compiler DN>> vendors actually *do* say something about this in the DN>> documentation. > my BC++4.0 docs have no warnings. Somehow I'm not surprised. Likewise the online documentation for Borland C++ for OS/2 1.0, Borland C++ for DOS 3.1 and Microsoft QuickC 2.50. The WATCOM C/C++ 10.0 and emx/gcc .INF files do recommend use of fgets() over gets(). So there. Andrew --- Msgedsq/2 3.30* Origin: Blizzard of Ozz, Melbourne, Australia (3:633/267.1{at}fidonet) SEEN-BY: 50/99 620/243 623/630 632/348 360 998 633/154 260 267 371 373 374 SEEN-BY: 634/384 635/301 502 503 544 639/252 711/401 409 410 413 430 510 808 SEEN-BY: 711/809 932 934 712/515 713/888 714/906 800/1 7877/2809 @PATH: 633/267 374 371 635/503 50/99 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.