On Fri, Apr 10, 2009 at 7:41 PM, Christopher Coale <[email protected]> wrote:
> I'm not sure if you are just using that code to make a point, but that
> won't work. You are getting the size of the pointer (which is usually 4
> or 8 bytes), and dividing that by the size of the type.

That's exactly the point they were originally making - i.e. it doesn't
work because it's a pointer to an array being passed in, not the
original array itself.

-- 
PJH

http://shabbleland.myminicity.com/ind
http://www.chavgangs.com/register.php?referer=9375

Reply via email to