You need to wrap the class contents with class firstLady { ... };, just as you did for struct firstLady_t.