A bit stuck here. Why is it that " One thing that arrays don't require that other variables do, is a reference operator when you want to have a pointer to the string."
A bit stuck here. Why is it that " One thing that arrays don't require that other variables do, is a reference operator when you want to have a pointer to the string."
>> A bit stuck here. Why is it that " One thing that arrays don't require that other variables do, is a reference operator when you want to have a pointer to the string."
I'm not sure what you mean by "reference operator", but I'm guessing it's referring to the fact that an array name resolves to it's address, as in:
char buf[ 1024 ], * ptr = buf;
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; }