Created
August 2, 2019 19:03
-
-
Save parzibyte/aa286f369e43ba1e40a24db82f36585c 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
// Sacar el primer token | |
char *token = strtok(granCadena, delimitador); | |
// Y sacar todos los siguientes | |
// Por cada uno, agregar la palabra a la pila | |
while (token != NULL) { | |
agregarPalabra(token); | |
token = strtok(NULL, delimitador); | |
} | |
// Luego de agregar todas las palabras, imprimimos nuestra pila | |
imprimir(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment