From: Patrick Percot <ppercot@free.fr>
To: linux-c-programming@vger.kernel.org, gcc-help@gcc.gnu.org
Subject: Re: Static memory allocation
Date: Sat, 25 Sep 2004 23:51:08 +0200 (CEST) [thread overview]
Message-ID: <20040925.235108.67854428.ppercot@free.fr> (raw)
In-Reply-To: <20040925091401.39110.qmail@web52907.mail.yahoo.com>
On Sat, 25 Sep 2004 10:14:01 +0100 (BST), Ankit Jain <ankitjain1580@yahoo.com> wrote
Hello Ankit,
> sorry boss but this also gives problem
>
> [ankit@Ankit fft]$ cat try2.c
> #include <stdio.h>
> int main()
> {
> double a[1450][1450];
> a[149][0]=999.999;
> printf("%lf\n",a[149][0]);
> return 0;
> }
> [ankit@Ankit fft]$ gcc try2.c
> [ankit@Ankit fft]$ ./a.out
> Segmentation fault
>
Sure, Claudio Bley gave you the solution (look at ulimit). I just
pointed you on another potential problem in your code.
[..Zappé 94 lignes et 2428 caractères..]
À+
PP
--
Groupe Morbihannais d'Utilisateurs de Logiciels Libres http://www.tuxbihan.org
GPG fingerprint = 1A4F E154 3D2C A20E E4CA A543 7951 C5C2 E44A A0B5
Patrick Percot.
next prev parent reply other threads:[~2004-09-25 21:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-24 10:57 Static memory allocation Ankit Jain
2004-09-24 12:51 ` Patrick Percot
2004-09-25 9:14 ` Ankit Jain
2004-09-25 21:51 ` Patrick Percot [this message]
2004-09-25 10:03 ` Jon Masters
-- strict thread matches above, loose matches on Subject: below --
2004-09-24 14:21 Huber, George K RDECOM CERDEC STCD SRI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040925.235108.67854428.ppercot@free.fr \
--to=ppercot@free.fr \
--cc=gcc-help@gcc.gnu.org \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).