Everywhere that I've looked, it's told me that I'm doing this right. The compiler continues to disagree with me. Here's the code.
In random.hIn random.cppPHP Code:
void new_random(unsigned long initial_seed = 0);
I get three errors, all having to do with the function declaration in the header.PHP Code:
void new_random(unsigned long initial_seed)
e:\servermodel\random.h(26) : error C2143: syntax error : missing ')' before '='
e:\servermodel\random.h(26) : error C2072: new_random' : initialization of a function
e:\servermodel\random.h(26) : error C2059: syntax error : ')'
I'm using VC++6 (and oh what a wonderful tool THAT is...). What am I doing wrong?