🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [Re] Problemas al enlazar

#11778
From: Salva
Date: Thu, 04 Oct 2001 17:36
41 lines
1888 bytes
In article <Pine.A41.4.31.0109202336020.80690-100000@anubis.uji.es>, mallok <al019159@anubis.uji.es> wrote:
>
>        Cuando hagas un include de la librer�a "x.h" hazlo como sigue:
>
>
>        extern "C" {
>                #include <x.h>
>        }
>
>
>        En fin... espero que te sea de ayuda.
>
>        Ta luego :-P
>

Esta soluci�n debo hacerla solo para los ficheros.h que esten hechos en C, no?

Pero seg�n se indico en otro articulo, algunas est�n ya protegidas frente a 
esto.

�Las siguientes todas son en C?
�Que forma tengo de averiguarlo, abriendo directamente  el fichero y 
distinguiendo si es C o C++?

#include <iostream>
#include <math.h>
#include <ctype.h>
#include <Complex.h>
#include <fstream.h>
#include <unistd.h>  
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <iomanip.h>

Gracias
  

Salva

salause@teleco.upv.es
Technical Details
Message-ID: <9pi6kh$s5d$1@polaris.cc.upv.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!news.comunitel.net!news.rediris.es!news.uv.es!news.upv.es!kabut
References: <9oaodc$s7e$1@polaris.cc.upv.es> <Pine.A41.4.31.0109202336020.80690-100000@anubis.uji.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,dfa4a2acb5227149
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-10-04 10:47:46 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!news.comunitel.net!news.rediris.es!news.uv.es!news.upv.es!kabut
From: salause@teleco.upv.es (Salva)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: [Re] Problemas al enlazar
Date: Thu, 04 Oct 2001 17:36:50 GMT
Organization: U.P.V.
Lines: 41
Message-ID: <9pi6kh$s5d$1@polaris.cc.upv.es>
References: <9oaodc$s7e$1@polaris.cc.upv.es> <Pine.A41.4.31.0109202336020.80690-100000@anubis.uji.es>
NNTP-Posting-Host: ext-a187.ras.upv.es
X-Trace: polaris.cc.upv.es 1002216913 28845 158.42.240.187 (4 Oct 2001 17:35:13 GMT)
X-Complaints-To: newsmaster@upv.es
NNTP-Posting-Date: 4 Oct 2001 17:35:13 GMT
X-Newsreader: News Xpress 2.01