Checking new for an error?
I read on the internet the other night that there isn't much you can do if a call to 'new' fails because there isn't enough memory left so the system will probable crash anyway.
Is this true, or is this really OS dependant? I would think that in DOS when a call no new failed it would probably crash the system because memory would be to low. On the other hand in windows OS's would it not just use the page file and not crash?
Can anyone straighten me out on this subject?
Thank you both for your quick replies!
I'll do some tinkering tomorrow and see how that all works.