Hi,
I'm very much a beginner to C++, but I've been assigned a project outside of my programming class that is starting to get tricky.
I'm modelling a layered optical system and I need to create N two-dimensional arrays (2x2 matrices to be used in matrix multiplication), where N is determined at runtime (entered through keyboard).
I know how to create 2D arrays dynamically, but can't think how to create N. I have a feeling it's going to consist of a struct array but I really can't think where to begin.
Any advice/hints/tips would be greatly appreciated.
Thanks!