|
ok... perdon por no responder antes... lo que si...
te va a costar hacer los primeros pinitos con punteros en C
#include
<stdio.h>
#include <stdlib.h> #include <string.h> int main (int argc, char
*argv[]!)
{ char * nombre; argv++; if (argc = 1) { nombre = argv[0]; printf("Su nombre es %s\n", nombre); } else printf("Ejecutar PGM PARM('MiNombre')"); }
_________________________________
|
Title: RE: Parámetros en C
- Re: *****SPAM***** RE: Parámetros en C Dario G. I. Heinze
- Re: *****SPAM***** RE: Parámetros en C Dario G. I. Heinze
