Ayuda, para corregir error...
Publicado por Ramon Pujols (5 intervenciones) el 31/01/2014 01:21:01
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define OK 1
#define ERR -10001
#define MAX_DIM 100
int enteros[MAX_DIM]; /* Array para guardar los enteros */
int num_total;
int lectura(void);
int sacarpantalla(int max, int min, int num_total);
int calcular(int *max, int *min, int total);
int es_digito(char caracter[]);
int main()
{
int menor; /* Numero menor */
int mayor; /* Numero mayor */
if (lectura() == ERR)
{
printf("Error al leer el numero de terminos.\n");
return ERR;
}
if (calcular(&mayor, &menor, num_total) == ERR)
{
printf("Error al intentar calcular el mayor y el menor");
return ERR;
}
if (sacarpantalla(mayor, menor, num_total) == ERR)
{
printf("Error al mostrar por pantalla.\n");
return ERR;
}
return OK;
}
Tengo este programa hecho en C y uso en Turbo C portable, cuando lo compilo dice que esta bien no hay error., pero cuando lo corro me da los siguientes errores:
Error: Undefined symbol _sacarpantalla in module
Error: Undefined symbol _calcular in module
Error: Undefined symbol _lectura in module
Valora esta pregunta


0