-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpersona.h
29 lines (26 loc) · 878 Bytes
/
persona.h
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
#ifndef PERSONA_H_INCLUDED
#define PERSONA_H_INCLUDED
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct
{
char nombreApellido [40];
int cantArticulos; // es el tiempo de ejecución
int tiempoDeEspera; // es el tiempo de respuesta
int tiempoProcesado; // es el tiempo que ya fue procesado en la línea de caja
int tipo_cliente; // prioridad (1: embarazada, 2: jubilado y 3: normal)
int tipo_pago;
int extra;
} Persona;
int verificarValor(int tipoCoP);
Persona cargaDePersonaNueva();
void cargarArchivodePersonas(char direccion[]);
void Printeo(Persona aux);
void mostrarArchivo(char direccion[]);
int avisoPersonaExtra();
void guardadoDeTiempos(char direccion2[],Persona aAlmacenar);
void PrinteoTiempos(Persona aux);
void MostrarTiempos(char registro[]);
void precargaPersonas(char direccion[]);
#endif // PERSONA_H_INCLUDED