-
-
Save parzibyte/4f276946f94f1c9fc3531ac2bf826c23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void marcarEntradaVehiculo(struct LugarEstacionamiento lugares[CANTIDAD_CARROS + CANTIDAD_MOTOS], int indice, char placa[MAXIMA_LONGITUD_CADENA], int horas) | |
{ | |
lugares[indice].estado = OCUPADO; | |
strncpy(lugares[indice].placa, placa, MAXIMA_LONGITUD_CADENA); | |
lugares[indice].entrada = time(NULL); | |
lugares[indice].horas = horas; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment