Posted by Kspansel@xxx.xxx on 1999-05-02
ok..this what I tried and I didn't have any problems. It only gives me an
sometimes. It's kinda weird. hehe. This is what I put:
try {
FileBuffer = new char [100];
}
catch(...) {
cout << "Cannot allocate memory for file buffer." << endl;
}
I'm not sure how to catch xalloc. I'd be much happy if you could show me.
Thanks.
kory
Previous post | Next post | Timeline | Home