Could someone explain what this means:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
The program inserts rows into a matrix represented as 1D vector. It works for smaller instances of the problem, but
on larger instances, this is thrown. Does it lack a memory?