<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">How do you do multi-dim arrays in c where each row can have a different number of columns?<br><br>In Pd I would do this:<br>[struct foo array a data]<br><br>and:<br><br>[struct data symbol svg_drawing_command array a the_data]<br><br>and finally:<br><br>[struct the_data float datum]<br><br>In c I've done a character array, an int telling me how big the character array is, an array for the numbers (actually a t_fielddesc array so they are settable per instance), and an int array to tell how many numbers per command.&nbsp; So if the command is "M 10 10 L 20 30 A 1 2 3 4 5 6 7", the char array stores "MLA" and the array of numbers has "10 10 20 30 1 2 3 4 5 6 7".<br><br>I'm sending path data to the gui using this, so I want it to be fast.&nbsp; Is there a better
 way?<br><br>-Jonathan<br></div></body></html>