jayapal wrote:
I am using the NEW operator
I believe you mean the "new operator" (C++ is case sensitive).
to allocate the memory in many places of
my code.But I am not doing any error hadling or exception handling.Can
any one suggests me how to do exception handling, which code part I
have to add to do the exception handling
What book on C++ are you reading that doesn't give any "suggestions"?
Error handling and exceptions are not the same thing nor they have the
same purpose. Books have been written to try to explain those concepts
and not many actually succeed, unfortunately. Start with chapter 14
in TC++PL. Then ask more question if you get any.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask