Just started using Borland C compiler. I am trying to compile a simple program:
#include <stdio.h>
#include <math.h>
main()
void timestwo(double y[], double x[])
{
y [0]= 2.0 * x[0];
return;
}
... I keep receiving the error:
"Error 2141 timestwo.c 6: Declaration syntax Error"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.