R
rjtucke
Hi all- this is my first post here- just a quick question:
#include <math.h>
double foo = cosh(0.621);
int main() {
return 0;
}
fails with
error: initializer element is not constant
In addition to telling me what I'm doing wrong, could you please refer
me to an appropriate reference for related questions? I've been doing
my reading (open net + safari bookshelf), but I don't know where to
look. Even if I have to (sigh) buy a book, I would appreciate your
pointers.
Thanks and regards,
Ross
#include <math.h>
double foo = cosh(0.621);
int main() {
return 0;
}
fails with
error: initializer element is not constant
In addition to telling me what I'm doing wrong, could you please refer
me to an appropriate reference for related questions? I've been doing
my reading (open net + safari bookshelf), but I don't know where to
look. Even if I have to (sigh) buy a book, I would appreciate your
pointers.
Thanks and regards,
Ross