Pages

July 26, 2010

Revew OOP244 - Insufficient Memory

include
Student* student = NULL;
student = new (nothrow) Student[n];
if (student == NULL)
cout << "Memory Allocation Failed" <<>
else {
...
}

No comments:

Post a Comment