Skip to content

Instantly share code, notes, and snippets.

@eogas
Forked from anonymous/gist:4378060
Created December 26, 2012 05:20
Show Gist options
  • Save eogas/4378121 to your computer and use it in GitHub Desktop.
Save eogas/4378121 to your computer and use it in GitHub Desktop.
for (i = number.length() - 2; i > 0; --i)
{
cout << number.length(i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment