Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是在想如何做到这一点......我的意思是这个数组可以以非常少的方式存储多个值。条款
例如。3x3 矩阵的 3 项数组将有 27 个项及其矩阵分组
我猜你的意思是一个三维数组,当然你可以拥有它们,例如
float ***values;
或者
float values[10][5][5];
但我建议你坚持使用对象:
class Matrix { float **data; } vector<Matrix> matrices;
您可以存储一个数组int**,每个数组都int**指向自己的一组int[][]s。
int**
int[][]
I have a class that interacts with a tableView. I have multiple pages in my program that uses this class/control. Problem was I was using List<> in this class to assign it to the itemso
List<>