TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MANISH MALIK
from: NEIL HELLER
date: 1998-02-03 19:24:00
subject: C++ SAVEDING STUFF

MM> char *s;
MM> gets(s);
MM> puts("\r\n Whether you typed 40 or 4000, I have it all! Here -");
MM> puts(s);
MM> Okay now ? :-)
That's going from bad to worse.  You've only allocated two bytes (in a
16-bit system or 4 bytes in a 32-bit system) to hold what the user
types.  That's guaranteed to tromp on somebody's memory.
 * KWQ/2 1.2i *
--- FLAME v1.1
---------------
* Origin: Port Chicago's Loading Dock - 510-676-5359 (1:161/204)

SOURCE: echomail via exec-pc

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™.