Skip to content

Instantly share code, notes, and snippets.

@ashumeow
Created November 17, 2013 18:09
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 ashumeow/7516222 to your computer and use it in GitHub Desktop.
Save ashumeow/7516222 to your computer and use it in GitHub Desktop.
class intmult
{
public:
virtual intmult(int a,int b)=0;
};
class Multiply:public intmult
{
public:
virtual intmult(int a,int b)
{
return a*b;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment