maximum size in c

Pàgina inicial

Reply to this message
Autor: Patrick Dupre
Data:  
A: Guilde
Assumpte: maximum size in c
Bonsoir,

Je declare:
double x [1048576]
et j'obtiens un segmenation fault !
double x [524288]
est OK.

est-ce qu'il y a des tailles maximum en c ?
J'ai 1 Go de RAm, et j'ai deux variable telles que x !


-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520@???
==========================================================================