lib.h
unknown
plain_text
4 years ago
815 B
10
Indexable
#ifndef _lib_H_
#define _lib_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <direct.h>
#include <dirent.h>
#include <unistd.h>
/* Programa realizado por Lorena Almoguera Romero, 48796558B
comp cmd: gcc lib.c main.c -o main.exe */
/* DEF ESTRUCTURA */
typedef enum { NUM, DATE, TEXT } TYPE;
/* COLUMNAS */
typedef struct tab{
char nombre[100];
int numCampos;
char **campos;
TYPE **tipos;
struct tab *sig, *ant;
}
TABLE;
/* LINEA */
typedef struct line{
char **valores;
struct line *sig, *ant;
}
ROW;
/* funciones a realizar*/
void crearcarpeta(char* directory);
void creartable(char* prompt, char *directory);
void accesscarpeta(char* directory);
void info();
void menu();
void back();
#endifEditor is loading...