Dynamic memory allocation in C/C++
At least three possibilities in this course
- Do it yourself
- Use the functions provided in the library package lib.cpp
- Use Armadillo http://arma.sourceforgenet (a C++ linear algebra library, discussion both here and at lab).