Tema: main() ? :S
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/04/2011, 09:46
olimpocruz
 
Fecha de Ingreso: abril-2011
Mensajes: 1
Antigüedad: 13 años
Puntos: 0
Pregunta main() ? :S

Hola, tengo que hacer el siguiente programa en c, pero no tiene la parte del main entonces no se como hacerlo, me gustaria mucho que me ayudaran, Soy nuevo en esto y la verdad que me interesa mucho el mundo de la programacion.

Gracias

*strcopy: copia t hacia s; version de subindices (1)*/
# include <stdio.h>
# include <stdlib.h>
# include <string.h>

void strcpy(char *s, char *t)
{
int i;
i=0;
while(s[i]=t[i]!='\0')
i++;
}