i get these two errors! how do i get rid of them!?
syntax error : missing ';' before 'type'
'c' : undeclared identifier
i get these two errors! how do i get rid of them!?
syntax error : missing ';' before 'type'
'c' : undeclared identifier
Could you be a little more vague?
Post the offending code so that we can see the actual error.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
missing ; =>just put a ; before type as the error sayssyntax error : missing ';' before 'type'
'c' : undeclared identifier
c undeclared declare it as an int, char , float whatever u like (actually whatever is needed in your code, therefore it would be good to post your code)