Now, I know the cause of my error:
Psudo code of what I did:
Code:
struct studentarray{
string fname;
string lname;
int grade;
}
studentarray *data[1000];
data[0] = new studentarray;
delete [] data[0];
would cause an assertion error. I realize that they wern't arrays, so I took it out and it worked fine, but what is an assertion error, what is an assertion, and why would it cause such an error to occur in some memory library?