🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: strcat() en c++

#7323
From: (el Meyer)
Date: Thu, 06 Mar 2003 15:42
20 lines
1553 bytes
Edgar de la cruz  escribi�...
| Muchas Gracias, he logrado resolver el problema
| todo estaba en el cad1="", solo hac�a falta escribir un asterisco delante 
| del cad1 de forma de que quedara as�:
| *cad1

No se si la soluci�n ser� simplemente indicar
*cad1="";

Si lo que quieres es poner el primer caracter de cad1 a '\0' creo que es mejor utilizar
cad1[0] = '\0';

o lo que ya te ha comentado Helio
*cad1 = '\0';
 
| ahora intentar� bajar una versi�n oficial del gcc

Saludos

(el Meyer)
Technical Details
Message-ID: <70re6vsa8hhc5d9v0j9tihoirs2oppmt4t@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!88.red-80-38-95.pooles.rima-tde.NET!not-for-mail
References: <b453rv$6ma$1@julieta.escomposlinux.org> <b47hfl$t0k$1@julieta.escomposlinux.org>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,aff69d8b36562df0
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-03-07 00:14:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!88.red-80-38-95.pooles.rima-tde.NET!not-for-mail
From: "(el Meyer)" <elmeyerQUITAESTO@iespana.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: strcat() en c++
Date: Thu, 06 Mar 2003 16:42:51 +0100
Lines: 21
Message-ID: <70re6vsa8hhc5d9v0j9tihoirs2oppmt4t@4ax.com>
References: <b453rv$6ma$1@julieta.escomposlinux.org> <b47hfl$t0k$1@julieta.escomposlinux.org>
NNTP-Posting-Host: 88.red-80-38-95.pooles.rima-tde.net (80.38.95.88)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1047024869 64357049 80.38.95.88 (16 [74848])
User-Agent: Hamster/1.3.23.0
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)