Hi,
The following question concerns a friend of mine. As I am not at all familiar with GPC it might seem silly.
My friend tries to use the random function like this: " rand := random/exp(31*ln(2)); "
When she compiles the program she gets the error " In function 'Rand' : undefined reference to 'Random' ".
The question is: is the syntax correct or does GPC support random function? Her program runs correctly on UNIX, however UNIX is not always available, hence she needs to use Linux 7. Unfortunately I don't know what version of GPC is installed.
Could you please help?
Regards
Jon