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.
我有像这样的二维数组:
data[10][7] = {{1, 0, 0, 0, 1, 1, 1}, {0, 0, 0, 1, 1, 0, 0}, *and so on*}
那么我如何将每一列描述为不同的变量呢?例如,两行的第一列作为变量a,两行的第二列作为变量b,等等?