-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.h.save
34 lines (28 loc) · 855 Bytes
/
main.h.save
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
#ifndef MAIN_H_INCLUDED
#define MAIN_H_INCLUDED
#define __USE_C99_MATH
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#define WIN_POINTS 3
#define TRUE 1
#define FALSE 0
#define MAX 100
#define DAYS 31
#define MONTHS 12
#include "sort.h"
#include "team.h"
#include "sbb.h"
#include "file.h"
#define __FILE__ "X"
#define __LINE__ 12
#define __FUNCTION__ "aa"
#define malloc(X) my_malloc( X, __FILE__, __LINE__, __FUNCTION__)
/* Enum que representa a inclinação dos nós da SBB. */
enum TipoInclinacao { SBB_VERTICAL, SBB_HORIZONTAL };
/* Enum que representa os algorítmos de ordenação. */
enum sorting_t { QUICK_SORT = 1, SHELL_SORT };
/* Enum que representa os elementos de um jogo (data, time 1, gols do time 1, time 2 e gols do time 2). */
enum game { DATE, TEAM1, GOAL1, TEAM2, GOAL2 };
#endif // MAIN_H_INCLUDED