TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: TIM HUTZLER
from: KURT KUZBA
date: 1998-01-05 11:55:00
subject: how should I return

TH> KK>   You are returning a pointer to a string which no
TH> KK>   longer exists once you exit the function.
TH>   Actually, the pointer *exists*, but the stack frame
TH>   probably is clobbered. The result is the same, no string.
   Right. It's a valid address, but it is Wrigley Field.
   Jake and Elwood aren't there. ( Blues Brothers Reference )
> ] Happiness is a Porsche. LUNCH is a warm puppy...............
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)

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