> It's amd64.
i believe you weren't getting the array too big error from gcc because of the much larger address space on a 64 bit OS (as opposed to 4GB on a 32 bit m/c).
obviously, the array allocation will fail because you don't actually have 3725GB of RAM.
> I haven't gotten into malloc and free much yet
Checkout the man page for malloc(3):
$ man 3 malloc
Last edited by ephemera; 1st August 2008 at 06:41 PM.
|