Skip to content

Instantly share code, notes, and snippets.

@nromashchenko
Last active March 1, 2020 13:22
Show Gist options
  • Save nromashchenko/be8eb04611745cb966fcc7a4507802c6 to your computer and use it in GitHub Desktop.
Save nromashchenko/be8eb04611745cb966fcc7a4507802c6 to your computer and use it in GitHub Desktop.
void myKeyHandler()
{
printf("myKeyHandler");
}
class Foo
{
public:
static void myKeyHandler()
{
printf("myKeyHandler in Foo");
}
};
int main()
{
myKeyHandler();
Foo::myKeyHandler();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment