Mail Archives: djgpp/1999/02/12/08:42:00
From: | Massimo <mssmsoft AT hotmail DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: C - problems
|
Date: | Fri, 12 Feb 1999 12:48:24 GMT
|
Organization: | Deja News - The Leader in Internet Discussion
|
Lines: | 20
|
Message-ID: | <7a17um$jf$1@nnrp1.dejanews.com>
|
References: | <000d01be565c$6a6c1240$c510f2d4 AT jakob>
|
NNTP-Posting-Host: | 138.132.53.11
|
X-Article-Creation-Date: | Fri Feb 12 12:48:24 1999 GMT
|
X-Http-User-Agent: | Mozilla/3.04Gold (X11; I; OSF1 V4.0 alpha)
|
X-Http-Proxy: | 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 138.132.53.11
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi,
You have a stack problem: your program require about 1Mbyte of stack but under
djpp you have only 256Kbyte of stack.
This is in chapter 15.9 of FAQ!!!
You can put the signed line out of main() procedure (i.e. put the variables
in the data space) or add the line "unsigned _stklen = 1048576" in the global
space of your program.
> main(){
>
> int M,N,numprint,nprint[100],i,printcount,k,n;
> double x0,x1,tend,Dx,Dt,x[10000],t[100000],unew[10000]; <====
>
Good luck!
Massimo
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
- Raw text -