Autovelox/funzioni.h

22 lines
450 B
C
Raw Permalink Normal View History

2024-10-13 08:13:26 +00:00
//
// Created by angel on 13/10/2024.
//
#ifndef AUTOVELOX_FUNZIONI_H
#define AUTOVELOX_FUNZIONI_H
2024-10-13 19:49:19 +00:00
typedef struct {
char targa[8];
char data[11];
char ora[6];
char velocita[4];
}Multa;
Multa *creaMulta(char targa[], char data[], char ora[], float velocita[]);
2024-10-13 19:49:19 +00:00
void iniziaMulta(Multa *multe[]);
void aggiungiMulta(Multa *m);
int calcolaInfrazioni(float targa[]);
2024-10-15 05:42:03 +00:00
void salvaInfrazioni(Multa *multe[]);
2024-10-13 19:49:19 +00:00
2024-10-13 08:13:26 +00:00
#endif //AUTOVELOX_FUNZIONI_H