// // 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/example07.c // Author.............Cedric Nugteren // Last modified on...10-October-2014 #include #include // This is 'example07', 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 out[0:dim_1A-1,0:dim_1B-1,0:29]|element for(a=0;a