21.03.2013 Views

Problem - Kevin Tafuro

Problem - Kevin Tafuro

Problem - Kevin Tafuro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}<br />

putchar('\n');<br />

for (i = 0; i < a_fold->num_elem; i++) {<br />

if (!(p = (int *)spc_array_get(a_fold, 0, i))) break;<br />

printf("%#.2X ", *p);<br />

}<br />

putchar('\n');<br />

/* Flat arrays */<br />

a_flat = spc_array_flat(sizeof(int), 6, 4);<br />

for (i = 0; i < 4; i++) {<br />

printf("Dimension %d: ", i);<br />

for (j = 0; j < 6; j++) {<br />

val = (i * j)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!