Skip to content

Instantly share code, notes, and snippets.

@RenatoUtsch
Last active December 20, 2015 16:19
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 RenatoUtsch/6160850 to your computer and use it in GitHub Desktop.
Save RenatoUtsch/6160850 to your computer and use it in GitHub Desktop.
Bug bizarro
inline bool isNondigit(int digit)
{
if(digit == 'ç')
return true;
else
return false;
}
void func()
{
if(isNondigit(getCurrentChar()))
/* Retorna falso */;
if(getCurrentChar() == 'ç')
/* Retorna verdadeiro */;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment