All pastes #989955 Raw Edit

Something

public text v1 · immutable
#989955 ·published 2008-04-19 21:43 UTC
rendered paste body
#include <iostream>using std::cout;using std::endl;class Base {public:	Base(int foo) {		cout << "Base constructed with param " << foo << endl;	}};class Derived : public Base {public:	Derived(int foo, int bar): Base(foo) {		cout << "Derived constructed with params " << foo <<			" and " << bar << endl;	}};int main() {	Derived theObject(42, 19);	return 0;}