Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 18, 2019 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/f8cb5e52c637c1dc5919eb882c724911 to your computer and use it in GitHub Desktop.
Save parzibyte/f8cb5e52c637c1dc5919eb882c724911 to your computer and use it in GitHub Desktop.
// Separar cadena por espacios. https://parzibyte.me/blog/2018/11/13/separar-cadena-delimitadores-c-strtok/
char *octeto = strtok(textoBinario, delimitador);
printf("En texto es: \n");
while (octeto != NULL) {
// Magia aquí
octeto = strtok(NULL, delimitador);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment