@ -1,3 +1,5 @@
#ifndef CREATE_CUSTOMER_H
#define CREATE_CUSTOMER_H
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
@ -7,3 +9,4 @@
int generateID();
void collectCustomerProperties();
void writeCustomerPropertiesToFile(customer_t *);
#endif
#ifndef CUSTOMER_PROPERTIES_H
#define CUSTOMER_PROPERTIES_H
typedef struct Customer
{
unsigned int ID;
@ -6,3 +8,4 @@ typedef struct Customer
char *forename, *surname;
float balance;
}customer_t;
#ifndef LOGIN_CUSTOMER_H
#define LOGIN_CUSTOMER_H
@ -8,3 +10,4 @@
bool checkLogin(bool);
void collectCustomerDataForLogin(int);
bool loginCustomer(customer_t *);
#ifndef STRING_MANIPULATION_H
#define STRING_MANIPULATION_H
#include <string.h>
@ -8,3 +10,4 @@ char *generateCheckString(unsigned int, char *);
unsigned int toUnsignedInteger(char *);
unsigned int power(unsigned int, unsigned int);
bool everyCharacterIsDigit(char *);