Ayuda con un .H y un .C
Publicado por Lara (2 intervenciones) el 19/09/2006 17:28:28
Hola, necesito que me ayuden urgente, tengo que crear un .h y un .c, en el cual en el .h va la cabecera y las llamadas a las funciones y en el .c tienen que estar el desarrollo de las mismas, no se como es la estructura del programa
yo estoy haciendo algo asi
aca va algo??
algun include o define?
declaro estructura
struct tfecha
{
int dia[2];
int mes[2];
int anio[4];
}
typedef flegible[10];
funciones
estan mal declaradas? que va adelante de la funcion?
int Fvalida(struct tfecha F);
int Fmayor(struct tfecha F1, struct tfecha F2);
void Fsumardias (struct tfecha F, int N);
void FconvertirFlegibleTfecha (flegible Forig, struct tfecha Fsal, int error);
gracias
yo estoy haciendo algo asi
aca va algo??
algun include o define?
declaro estructura
struct tfecha
{
int dia[2];
int mes[2];
int anio[4];
}
typedef flegible[10];
funciones
estan mal declaradas? que va adelante de la funcion?
int Fvalida(struct tfecha F);
int Fmayor(struct tfecha F1, struct tfecha F2);
void Fsumardias (struct tfecha F, int N);
void FconvertirFlegibleTfecha (flegible Forig, struct tfecha Fsal, int error);
gracias
Valora esta pregunta


0