// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include "common.h"

static char *b = "I am B";

class FoobarB : public Foobar
{
    public:
        virtual char *WhoAmI()
        {
            return b;
        }
        virtual int Op(int x, int y)
        {
            return (x/y);
        }
};

Foobar *CreateFoobar()
{
    return new FoobarB();
}
