Can anyone guide me as to how to handle errors that do not throw any exception.

For example, I frequently get errors from CStringArray.GetAt() function when it goes out of bound. I gave this only for example as they can be hanled by a proper if construct. But still there may be some overlooks. So can anyone guide me as to how to catch such type of errors.


and also to use set_terminate() function.


Thanks and Love in advance,

Samantha Katherine.