I m converting old basic program in arduino linguage
after solving many difference of language between basic , c++ you can see above like example
for a=0 to 10 step 2 >>>> for (a=0;2<10;a++) {....
i have something code you see under must some elevation power and convert in ...
a[j] = (w+4*t)^ (d-1) >>>>> a[j] = pow (w+4*t,d-1); (example of conversion)
r([j] = pow(r[j] + y[k] * x[k], (j - 1)); <<<<<< (this converted code )
but give error ----- expected '{' before '=' token
thank
for a=0 to 10 step 2 >>>> for (a=0;2<10;a++) {....
i have something code you see under must some elevation power and convert in ...
a[j] = (w+4*t)^ (d-1) >>>>> a[j] = pow (w+4*t,d-1); (example of conversion)
r([j] = pow(r[j] + y[k] * x[k], (j - 1)); <<<<<< (this converted code )
but give error ----- expected '{' before '=' token
thank
code: [select]
for a=0 10 step 2 >>>> (a=0;2<10;a++) {....
nope.please post code , error messages.
please use code tags.
Arduino Forum > Using Arduino > Programming Questions > I m converting old basic program in arduino linguage
arduino
Comments
Post a Comment