1 #include "derived.h" 2 3 Foo foo1; 4 Foo foo2; 5 Foo()6 Foo::Foo() { a = 12345; } 7 baz()8 char Foo::baz() { 9 return (char)(x&0xff); 10 } 11 12