🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Expediente X

#13991
From: Willy
Date: Mon, 18 Dec 2000 23:48
19 lines
1194 bytes
No es que no se pueda poner

int i;

Sino que debe ir al principio de la funci�n.

Lo correcto es:

Federico Pinal Moreira ha escrito:
int main() {
int i;
...., etc

> > int main()
> > {
> >   printf("");
> >   int i;                             <========= Esto s�lo puede hacerse
> >  en C++, no en C
> >   for(i=0; i<10; i++) ......
Technical Details
Message-ID: <3A3EA24D.5255E029@netscape.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!diablo.theplanet.net!btnet-peer!btnet!newsfeed.bt.es!212.14.96.163.MISMATCH!gratil.proel!not-for-mail
References: <3a3cc231@filemon.telecable.es> <3A3D46E3.61D6EF92@wanadoo.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,b243c6db34cbd77e
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2000-12-18 16:01:31 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!diablo.theplanet.net!btnet-peer!btnet!newsfeed.bt.es!212.14.96.163.MISMATCH!gratil.proel!not-for-mail
From: Willy <"willywill[NO SPAM]"@netscape.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Expediente X
Date: Tue, 19 Dec 2000 00:48:29 +0100
Organization: PROEL PSIC
Lines: 20
Message-ID: <3A3EA24D.5255E029@netscape.net>
References: <3a3cc231@filemon.telecable.es> <3A3D46E3.61D6EF92@wanadoo.es>
NNTP-Posting-Host: 212.14.109.104
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mozilla 4.51 [es] (Win98; I)
X-Accept-Language: es