Article View: es.comp.os.linux.programacion
Article #13861Re: Duda, error en programa.
From: Jesús Carrete Montaña
Date: Sun, 07 Jan 2001 16:31
Date: Sun, 07 Jan 2001 16:31
65 lines
3039 bytes
3039 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Como Nostradamus profetiz�, el Sun, 7 Jan 2001 12:59:38 +0100
Santiago Romero dijo:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>
> Enas... estoy haciendo un programa y no se si tengo un error en el
> porque no compila:
>
>[mierda.c]
>
> �Vosotros veis el error?
> salu2.
>
Yo s� lo veo, y se corrige con indent mierda.c:
long h[4];
t ()
{
h[3] -= h[3] / 3000;
setitimer (0, h, 0);
}
c, d, l, v[] =
{
(int) t, 0, 2}
, w, s, I, K = 0, i = 276, j, k, q[276], Q[276], *n = q, *m, x = 17, f[] =
{
7, -13, -12, 1, 8, -11, -12, -1, 9, -1, 1,
12, 3, -13, -12, -1, 12, -1, 11, 1, 15, -1, 13, 1, 18, -1, 1, 2, 0, -12,
-1, 11, 1, -12, 1, 13, 10, -12, 1, 12, 11, -12, -1, 1, 2, -12, -1, 12, 13,
-12, 12, 13, 14, -11, -1, 1, 4, -13, -12, 12, 16, -11, -12, 12, 17, -13,
1, -1, 5, -12, 12, 11, 6, -12, 12, 24};
[etc.]
Aunque el estilo no me gusta un pelo, efectivamente el programa compila,
con un �nico warning en la l�nea 18. Eso s�, si lo haces con gcc -Wall
puedes flipar.
Un saludo.
- --
-----------------------------------------------------------------------------
) .~. ttt () |/ ,_|-.| (
) /V\ tu u () |\L|(||||_||<() @ escomposlinux.org (
) // \\ tu ux x () Linux Registered User #158442. (
)/( )\ uuu x () Public PGP Key avaliable via e-mail and in pgp.rediris.es. (
) ^`~'^ x x () "I use free software." (
-----------------------------------------------------------------------------
) http://www.escomposlinux.org/anti-spam () Mant�n limpios tus grupos. (
-----------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6WJnYfUtQQKOnZ1IRAoFuAKDQvkE/vxNA+4jPg3E5a0UDJOliRACgmpL4
ZYXPiYgZSLN/vZtrL/d1los=
=oAd/
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<slrn95h6e3.rv.kuantiko@relativistic.homeip.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!120-coru-x6.libre.retevision.ES!not-for-mailReferences:
<anl939.c91.ln@127.0.0.1>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,d0cdcf0a2ad8b39e X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-01-07 08:59:22 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!120-coru-x6.libre.retevision.ES!not-for-mail From: kuantiko@escomposlinux.org (Jesús Carrete Montaña) Newsgroups: es.comp.os.linux.programacion Subject: Re: Duda, error en programa. Date: Sun, 7 Jan 2001 17:31:20 +0100 Lines: 65 Message-ID: <slrn95h6e3.rv.kuantiko@relativistic.homeip.net> References: <anl939.c91.ln@127.0.0.1> Reply-To: kuantiko@escomposlinux.org NNTP-Posting-Host: 120-coru-x6.libre.retevision.es (62.83.55.120) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 978886745 9660473 62.83.55.120 (16 [54696]) User-Agent: slrn/0.9.6.2 (Linux)