🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #12997

funciones matem�ticas

#12997
From: Jose Callealta
Date: Fri, 20 Apr 2001 17:56
11 lines
1354 bytes
Hola a todos:
Estoy comenzando a programar en C bajo linux. Ver�is: el caso es que al usar
la funciones matem�ticas, como pow, sqrt, sin, etc... y tras incluir
#include <math.h>, el gcc devuelve un error diciendo que no se han declarado
dichas funciones. He probado a recompilarlo con diversas opciones, pero
sigue fallando.
Por si os sirve de orientaci�n suelo compilar las fuentes de la siguiente
manera:
gcc -ansi -Wall program.c -o program
Alguien sabe d�nde est� el problema?
Salu2 y gracias por adelantado :-)
Technical Details
Message-ID: <3ae0791a@news>
Path: arc1-ca.pugleaf.net!supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!npeer.kpnqwest.net!news!212.73.51.65

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,a670a5f519cceb58,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-04-20 10:59:56 PST
From: "Jose Callealta" <josecallealta@navegalia.com>
Newsgroups: es.comp.os.linux.programacion
Subject: funciones matem�ticas
Date: Fri, 20 Apr 2001 19:56:55 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 212.73.51.65
X-Original-NNTP-Posting-Host: 212.73.51.65
Message-ID: <3ae0791a@news>
X-Trace: 20 Apr 2001 19:59:54 +0100, 212.73.51.65
Path: arc1-ca.pugleaf.net!supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!npeer.kpnqwest.net!news!212.73.51.65