Hey all,
i'm writing a small program that multiplies matrices. The number of matrices is taken as an input, which means it varies according to input. so i'm having a problem on how to dynamically declare several matrices.

is it possible to do that?

Why would you need to declare them? If you're going to multiply matrices then they would be the parameters to the method. Perhaps you need to post your method signature and intent if that is not applicable to your goal.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.