On Aug 20, 9:32 pm, "Jim Langston" <tazmas...@rocketmail.com> wrote:
> <contactmayankj...@gmail.com> wrote in message
>
> news:1187626911.559829.298860@i38g2000prf.googlegroups.com...
>
> > Hi,
>
> > Its said that one should avoid dynamic allocation of memory, as it de-
> > fragment the memory into small chunks and allocation of memory is a
> > costly process in terms of efficiency. So what is the best solution to
> > handle to situation in which we need to allocate memory at run time.
>
> using dynamic allocation of memory. use new
How new is going to solve my problem. Are you trying to say use new
instead of malloc for allocating memory?
Regards
Mayank Jain(Nawal)
contactmayankjain@gmail.com
9818390836