Article View: es.comp.os.linux.programacion
Article #14005Re: Novato - Primer programa en C ó C++ y no corre
From: Santiago Romero
Date: Tue, 19 Dec 2000 12:50
Date: Tue, 19 Dec 2000 12:50
32 lines
2289 bytes
2289 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Mon, 18 Dec 2000 21:30:43 -0500, gErMie escribi�: >Les agradecer�a mucho si me pudieran ayudar con este problema. Estoy >tratando de programar mi primer programa en Linux GCC. Lo excrib� y parece >que compila cuando excribo "gcc -o helloworld.exe helloworld.cpp". Pero >cuando lo trato de correr excribiendo el nombre "helloworld.exe" me dice que >no es un comando y no lo corre. Que estoy haciendo mal? ./helloworld.exe si no pones el ./ no funciona. Linux NO es como MSDOS, no tiene el directorio actual en el PATH. salu2. - -- To hear the voice of Evil, type cat system32.dll >/dev/audio _-----------------------------------------------------_ | NoP / Compiler -- compiler@escomposlinux.org | |-------------------------------------------------------| | POWERED BY - Linux Debian 2.2 - Reg. User #74.821 | | http://www.escomposlinux.org/sromero ICQ 98602813 | ~-----------------------------------------------------~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjo/WZcACgkQx0J/i4MrH+cl6QCeMhrMU2zIP1yvGq9Gyf1nTPYq DMsAoKfkaLTwrPm2PrP2fC9cX67H9SFg =izHJ -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<niln19.gc.ln@127.0.0.1>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!va1-tp-1-u-0037.du.onolab.COM!not-for-mailReferences:
<91mha4$njc$1@slb1.atl.mindspring.net>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,a22a2cf245995d32 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2000-12-19 05:32:24 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!va1-tp-1-u-0037.du.onolab.COM!not-for-mail From: sromero@escomposlinux.org (Santiago Romero) Newsgroups: es.comp.os.linux.programacion Subject: Re: Novato - Primer programa en C ó C++ y no corre Date: Tue, 19 Dec 2000 13:50:31 +0100 Lines: 32 Message-ID: <niln19.gc.ln@127.0.0.1> References: <91mha4$njc$1@slb1.atl.mindspring.net> Reply-To: compiler@escomposlinux.org NNTP-Posting-Host: va1-tp-1-u-0037.du.onolab.com (62.42.44.38) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 977232743 5140329 62.42.44.38 (16 [39726]) User-Agent: slrn/0.9.6.2 (Linux)