Skip to content

Instantly share code, notes, and snippets.

@speedsticko
Created February 7, 2013 19:07
Show Gist options
  • Save speedsticko/4733297 to your computer and use it in GitHub Desktop.
Save speedsticko/4733297 to your computer and use it in GitHub Desktop.
#pragma once
#include <string>
class MySubObject {
public:
MySubObject(void);
~MySubObject(void);
std::string subName;
};
class MyObject
{
public:
MyObject(void);
~MyObject(void);
std::string name;
MySubObject subObj;
MySubObject *pSubObj;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment