On Wed, May 6, 2009 at 6:02 AM, abcpqr70 <[email protected]> wrote:
[...]
> storage =(structure*) malloc(64);
>
> this is the way i am using it

If you're using C, the cast is not necessary (and can be dangerous,)
if you're using C++, you should be using new, not malloc().


-- 
PJH

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

Reply via email to