-
-
Save parzibyte/63032dfa9459cbdfe852182d23a14c47 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
// Recorre toda la pila de películas y en caso de que encuentre una en la que coincide el nombre, la imprime | |
void buscarPeliculaPorNombre(char nombre[MAXIMA_LONGITUD_CADENA]) { | |
printf("\n--Resultados de busqueda por nombre --\n"); | |
struct detalleDePelicula *temporal = superior; | |
while (temporal != NULL) { | |
if (strcmp(nombre, temporal->nombre) == 0) { | |
imprimirPelicula(temporal); | |
} | |
temporal = temporal->siguiente; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment