Is it bad practice to use multi-dimensional arrays in C/C++?

前端 未结 9 870
北海茫月
北海茫月 2021-02-07 04:46

Some programmers seem to violently hate them, while others seem to think they\'re fine. I know that anything that can be done to a multi-dimensional array can also be done to a

9条回答
  •  囚心锁ツ
    2021-02-07 05:21

    I can recommend Boost.MultiArray. Boost.MultiArray provides a generic N-dimensional array concept definition and common implementations of that interface.

    http://www.boost.org/doc/libs/1_42_0/libs/multi_array/doc/index.html

提交回复
热议问题