View Single Post
Old 05-15-2002, 10:48 AM   #6
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

Thanks for catching that.  I only looked at his variable declarations.

Right -- one is a pointer, the other is a pointer to a known size of a bunch chars on the stack.  The distinction I was trying to make was that they're both pointers, and that's why he's getting the "returning address of local variable" warning.  I never meant to imply that they're precisely the same, merely that they share an important characteristic =).
Yui Unifex is offline   Reply With Quote