"Mohsen" <ja*******@gmail.comwrote in message
news:11*********************@h54g2000cwb.googlegro ups.com...
: Dear All,
: Do you know if there is any difference between 'new' and
: 'malloc' in terms of handling memory?
It depends on the platform. But many implementations of
'new' just use malloc internally.
: If someone has insufficient memory to run a big problem, do you think
: it makes any difference to use 'new' or 'malloc'?
No (except for rare cases where you may benefit from 'realloc',
which is only available with the latter).
Can you tell more about the problem you are trying to solve?
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form