Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 17, 2019 02:10
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/07461fb2f39aba8dfd72d22523653826 to your computer and use it in GitHub Desktop.
Save parzibyte/07461fb2f39aba8dfd72d22523653826 to your computer and use it in GitHub Desktop.
int decimal = 0;
int i = 0;
while (texto[i] != '\0') {
decimal = (long) texto[i];// Obtener valor ASCII del carácter
// Magia aquí
i++;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment