On Nov 12, 2:47 am, Martin Albrecht <[EMAIL PROTECTED]>
wrote:
> On Wednesday 12 November 2008, Thomas Kahle wrote:
>
> > src/main.cpp: In function ‘int main(int, const char**)’:
> > src/main.cpp:30: error: ‘srand’ was not declared in this scope
>
> Looks like:
>
>    #include <stdlib.h>
>
> is missing.

Yep, that is my guess, too, even though I would do the slightly IMHO
cleaner

#include <cstdlib>

> Cheers,
> Martin

Cheers,

Michael

> --
> name: Martin Albrecht
> _pgp:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
> _www:http://www.informatik.uni-bremen.de/~malb
> _jab: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to