I have a bit of code copied from an unknown source:
int Len=0; printf(\"Please input the length of vector\"); scanf(\"%d\",&Len); float x[Len],y[Len],si
This is called a Variable Length Array (VLA) and is a C99 feature.
If your compiler does not recognise it on it's own then try switching C standards
Try:
--std=c99 -std=c99 --std=gnu99 -std=gnu99
The manual page of your compiler will be able to tell you the exact flag.