I'm having some problems with extern variables. It's the first time I use it, so I don't know how it works. I have this code:
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
extern double *x, *y, a;
extern unsigned int N;
inline void f1 ()
{
int i;
for (i=0; i<N; i++)
{
y[i] = a*x[i] + y[i];
}
}
And the error that I get when I compile it it's that x,y,a and N are not defined. So, could someone help me please?