Edit Anything

Professional text and hex editing
with Binary Templates technology.



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:





Newsletter - Receive special offers, tips, tricks and news. Join now



010 Editor v8.0.1 is here!
What's new?


Navigation


Products

010 Editor














E-mail: info@sweetscape.com