Skip to content

Instantly share code, notes, and snippets.

@bradtgmurray
Created November 21, 2008 16:49
Show Gist options
  • Save bradtgmurray/27496 to your computer and use it in GitHub Desktop.
Save bradtgmurray/27496 to your computer and use it in GitHub Desktop.
char* it = "xxxxxxxxxxx";
if(it[0] == '.')
{
switch(it[1])
{
case '/':
it++;
//fall through
case '\0':
it++;
doSomething()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment