Thank you, Yes I tried long long on the ARM compiler, it did give me 32-bit Mouaaz --- In lpc2000@yahoogroups.com, "Anton Erasmus" <antone@s...> wrote: > 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: Rand( ) in GCC compiler
2004-09-08 by mouaaz
Attachments
- No local attachments were found for this message.