On 7 Sep 2004 at 17:25, mouaaz wrote: > Hi Curt, > > Thanks for your concern. > > What I did finally, > I copied the following statement from the file "stdlib.h": > extern int rand (void); > and pasted it in the file in which rand() is used, then took out this > line > #include "stdlib.h" > and the code worked. > > Do you think that I am right? > > Aslo, I was wondering that there is no 64 bit data type in GCC > compiler. Any idea? > [Stuff snipped] Have you tried long long ? e.g. long long temp; temp is then a 64bit signed int. Regards Anton Erasmus-- A J Erasmus
Message
Re: [lpc2000] Re: Rand( ) in GCC compiler
2004-09-07 by Anton Erasmus