// // This file is part of the Bones source-to-source compiler examples. This C-code // example is meant to illustrate the use of Bones. For more information on Bones // use the contact information below. // // == More information on Bones // Contact............Cedric Nugteren // Web address........http://parse.ele.tue.nl/bones/ // // == File information // Filename...........element/example7.c // Author.............Cedric Nugteren // Last modified on...16-April-2012 #include #include // This is 'example7', demonstrating variable length arrays (C99 VLAs) int main(void) { int a,b,c; int dim_1A = 50; int dim_1B = 40; // Declare input/output arrays int in1[dim_1A][dim_1B][30]; int in2[dim_1A][dim_1B][30]; int out[dim_1A][dim_1B][30]; // Set the input data for(a=0;a 0:dim_1A-1,0:dim_1B-1,0:29|element for(a=0;a