Commits

samuel bustamante committed fc422b3

Inicio del Repositorio

Comments (0)

Files changed (1)

+/*    
+*     P1-Grupo13.c
+*                   Samuel Alfredo Bustamante Barrera
+*                   Jesus Ignacio Valdez
+*
+*     This program is free software: you can redistribute it and/or modify
+*     it under the terms of the GNU General Public License as published by
+*     the Free Software Foundation, either version 3 of the License, or
+*     any later version.
+*
+*     This program is distributed in the hope that it will be useful,
+*     but WITHOUT ANY WARRANTY; without even the implied warranty of
+*     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*     GNU General Public License for more details.
+*
+*     You should have received a copy of the GNU General Public License
+*     along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+
+#include <stdio.h>
+#include <stdlib.h>
+
+/********** Macros ***********/
+
+#define MAX_LIST 1000
+
+/******* Datos Globales ******/
+
+typedef char Codigo[8];
+
+typedef struct {
+    Codigo Codigo_P;
+    char Nombre_P[50];
+    char Director_P[30];
+    char Universidad_P[50];
+} Tupla_P;
+
+typedef struct Nodo {
+    Tupla_P Dato;
+    struct Nodo *Siguiente;
+} Nodo_P;
+
+struct Nodo_P *Inicio;
+
+/********* Funciones *********/
+
+int Localizar_LVD(Codigo Codigo_P, int *Posicion);
+int Evocar_LVD(Codigo Codigo_P, Tupla_P *Elemento);
+int Alta_LVD(Tupla_P *Elemento);
+int Baja_LVD(Codigo Codigo_P);
+
+int Localizar_LVO(Codigo Codigo_P, int *Posicion);
+int Evocar_LVO(Codigo Codigo_P, Tupla_P *Elemento);
+int Alta_LVO(Tupla_P *Elemento);
+int Baja_LVO(Codigo Codigo_P);
+
+/*********** Main ************/
+int main(){
+    return 0;
+}