Commit 7dccaf1e by karade

Update broneering.h

parent 2c9e945c
Showing with 5 additions and 0 deletions
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#define SEATS 72 #define SEATS 72
#define DOC_MAX 10 #define DOC_MAX 10
#define ROWS 18
#define COLS 4
typedef struct{ typedef struct{
char documentNum[DOC_MAX]; char documentNum[DOC_MAX];
...@@ -29,5 +31,7 @@ int ShowDestinations(MYSQL *con); ...@@ -29,5 +31,7 @@ int ShowDestinations(MYSQL *con);
void PrintRes(MYSQL_RES *result); void PrintRes(MYSQL_RES *result);
int GetRand(int min, int max); int GetRand(int min, int max);
void insertPersonIntoTable(MYSQL* con, users data); void insertPersonIntoTable(MYSQL* con, users data);
void FillSeatmap(int seats[ROWS][COLS], int rows, int cols, MYSQL *con, int flightId);
void PrintSeats(int data[ROWS][COLS], int rows, int cols);
#endif #endif
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment