SweetScape Knowledgebase
KB1021: How do I define a multi-dimensional array?

010 Editor currently only supports one-dimensional arrays in Templates; however, 2D or 3D arrays can be read with 010 Editor using structures. For example, a 4 by 4 matrix could be defined by the type:

    typedef struct 
    {
       float row[4];
    } 
    MATRIX[4];

Then matrices can be defined in your template like this:

    MATRIX m;

After running the Template, the results will look like this:



Back to knowledgebase index
Back to main support page




Our Products


Latest News
Download
- 010 Editor
v3.1.2
is now available.
Download it now!
What's New in 3.1.2?


Newsletter
Join our newsletter to receive tips and tricks on hex editing, special offers, and news from SweetScape Software.

Sign-up Now...





SweetScape Software
148 Pownal Rd. RR#1
Pownal, PEI
C0A 1Z0, Canada

E-mail: