Marie

Discussion in 'Programmer's Corner' started by 4ndr3c03lh0, Jun 3, 2010.

Thread Status:
Not open for further replies.
  1. 4ndr3c03lh0

    Thread Starter New Member

    Jun 3, 2010
    7
    0
    Good afternoon.
    I liked to help me convert this code to C language MARIE::confused::confused:

    short int a[100];
    array_integral(a, 100);
    void array_integral(short int vec[], short int size){
    short int i;
    for(i=1; i<size; i++)
    vec = vec + vec[i - 1];
    }

    Thanks
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,649
    2,348
  3. bertus

    Administrator

    Apr 5, 2008
    15,649
    2,348
Loading...
Thread Status:
Not open for further replies.