Add files via upload

This commit is contained in:
Fernando Méndez
2019-06-20 13:06:16 +02:00
committed by GitHub
parent 989e433448
commit 2fd3b1e062
80 changed files with 2922 additions and 0 deletions

View File

@ -0,0 +1,30 @@
#ifndef _DATELIST
#define _DATELIST
#include "ClientList.h"
//Constant:
//Types:
typedef struct tDate {
tClient *client1, *client2;
std::string place;
int ratting;
};
typedef struct tDateList {
tDate *date; //Sorted by rating.
int cont, capacity;
};
//Functions:
void newList(tDateList& list);
void insert(tDateList& list, tDate& date); //If there are no more free slots add 10 more slots.
void display(tDateList& list);
void free(tDateList& list);
#endif // !_DATELIST