🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Programas externos en codigo C (pregunta novato)

#6281
From: Iván Sánchez Ortega
Date: Thu, 31 Jul 2003 00:13
31 lines
2219 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Enrique Terrazas dixit:

> Se pueden incrustar programas externos en el codigo de un programa en C ?
> 
> Puedo incrustar de alguna manera que utilize el ejecutable, o necesito a
> fuerzas el codigo fuente del programa en cuestion ?

Te hablo de memoria (no he tocado demasiado C �ltimamente), pero creo que lo
puedes hacer con llamadas del estilo:

system("ls /home");

Encontrar�s m�s informaci�n (supongo) en alguna referencia de C, mirando por
la llamada system...

- --
- ----------------------------------
Iv�n S�nchez Ortega -ivansanchez-arroba-escomposlinux-punto-org

Have a nice day.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/KF8hR56dWuhgxGgRAgptAJ9U37+nP6VHtLSsheGONoXN3S66cwCeNMSl
rmfMfQjAJojp3sYNqs9reRU=
=6Dtr
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <20030731001321.2ED09A65.NOFFLE@BlackSpark.local>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!west.cox.net!east.cox.net!peer01.cox.net!cox.net!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!escomposlinux.org!pinsa.escomposlinux.org!not-for-mail
References: <bg9klq$r8o$1@negre.neozero.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,d0d1c80bf7704121
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-07-30 17:13:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!west.cox.net!east.cox.net!peer01.cox.net!cox.net!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!escomposlinux.org!pinsa.escomposlinux.org!not-for-mail
From: Iván Sánchez Ortega <ivansanchez-@rroba-escomposlinux-.punto.-org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Programas externos en codigo C (pregunta novato)
Date: Thu, 31 Jul 2003 02:13:19 +0200
Organization: acm.asoc.fi.upm.es
Lines: 31
Message-ID: <20030731001321.2ED09A65.NOFFLE@BlackSpark.local>
References: <bg9klq$r8o$1@negre.neozero.net>
Reply-To: Iván Sánchez Ortega <ivansanchez-@rroba-escomposlinux-.punto.-org>
NNTP-Posting-Host: 62-36-71-2.dialup.uni2.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: pinsa.escomposlinux.org 1059610414 30999 62.36.71.2 (31 Jul 2003 00:13:34 GMT)
X-Complaints-To: newsmaster@pinsa.escomposlinux.org
NNTP-Posting-Date: Thu, 31 Jul 2003 00:13:34 +0000 (UTC)
User-Agent: KNode/0.7.6