Article View: chile.comp.programacion
Article #3591Re: funcion round en C
From: Waldo
Date: Fri, 10 Dec 2004 06:54
Date: Fri, 10 Dec 2004 06:54
17 lines
1511 bytes
1511 bytes
araguayo@dcc.uchile.cl wrote: > Por alguna razon tu "math.h" no prototipa la funcion double().. sepa moya > porque.. Porque round() es parte de C99. Usando 'gcc -std=c99' lo arregla. > puedes agregar algo del estilo en tu codigo antes del main: > > double round(double); En general es mala idea agregar prototipos a mano. Si el compilador dice que no encuentra un prototipo, mejor investigar por que. Salu2, W.
Technical Details
Message-ID:
<1102661646.664538.9650@z14g2000cwz.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mailReferences:
<cpa338$p9o$1@news1.nivel5.cl> <cpaf99$l8e$1@helcaraxe.dcc.uchile.cl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,45a58cbd8a22477a X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: "Waldo" <fatwaldo@yahoo.com> Newsgroups: chile.comp.programacion Subject: Re: funcion round en C Date: 9 Dec 2004 22:54:06 -0800 Organization: http://groups.google.com Lines: 18 Message-ID: <1102661646.664538.9650@z14g2000cwz.googlegroups.com> References: <cpa338$p9o$1@news1.nivel5.cl> <cpaf99$l8e$1@helcaraxe.dcc.uchile.cl> NNTP-Posting-Host: 67.86.77.109 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1102661651 31187 127.0.0.1 (10 Dec 2004 06:54:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 10 Dec 2004 06:54:11 +0000 (UTC) In-Reply-To: <cpaf99$l8e$1@helcaraxe.dcc.uchile.cl> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=67.86.77.109; posting-account=hVjo8QwAAAC1br25yrexfun-OkEnsf06