Created
August 2, 2019 19:04
-
-
Save parzibyte/004c09bb3624797a23dd1ddfb78f30a9 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
char granCadena[MAXIMA_LONGITUD_ORACION_USUARIO]; | |
printf("Pon una cadena de hasta %d caracteres, presiona enter y te diré la " | |
"frecuencia de las " | |
"palabras:\n", | |
MAXIMA_LONGITUD_ORACION_USUARIO); | |
// fgets para escanear también los espacios; y prevenir un desbordamiento de | |
// búfer | |
fgets(granCadena, MAXIMA_LONGITUD_ORACION_USUARIO, stdin); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment