Skip to content

Instantly share code, notes, and snippets.

@speedsticko
Created February 7, 2013 19:08
Show Gist options
  • Save speedsticko/4733301 to your computer and use it in GitHub Desktop.
Save speedsticko/4733301 to your computer and use it in GitHub Desktop.
#include "MyObject.h"
#include <iostream>
using namespace std;
MySubObject::MySubObject(void)
{
cout<<"Constructor MySubObject"<<endl;
}
MySubObject::~MySubObject(void)
{
cout<<"Destructor MySubObject"<<endl;
}
MyObject::MyObject(void)
{
cout<<"Constructor MyObject"<<endl;
}
MyObject::~MyObject(void)
{
cout<<"Destructor MyObject"<<endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment