bad_alloc.cc
changeset 28 54addf5893ef
parent 13 2640a7fd96ca
child 29 7abf6146898e
equal deleted inserted replaced
27:81a574d60c15 28:54addf5893ef
     6 #include <iostream>
     6 #include <iostream>
     7 #include <vector>
     7 #include <vector>
     8 #include <exception>
     8 #include <exception>
     9 #include <sys/time.h>
     9 #include <sys/time.h>
    10 #include <sys/resource.h>
    10 #include <sys/resource.h>
       
    11 #include <cstdlib>
    11 
    12 
    12 using namespace std;
    13 using namespace std;
    13 
    14 
    14 int set_limit (int megs)
    15 int set_limit (int megs)
    15 {
    16 {