I was compilling a school assignment that I had done in Visual C++ on my home computer running Slackware 8.1 w/ gcc 2.95.3

Anyway, I used the 'bad_alloc' exception thrown by the system when there is no more space to be allocated to the heap.

I was wondering what I could use as an equalivent on my Linux system.

The code runs and compiles fine without the lines using that exception.