I want to be able to bring the single instance class into a function of another class without having to take each seperate little variable from the class and inject it in, can I just do something like

void Yeah(class *The Class)

and then pass the class in easily??? Or maybe even in a non pointer form?

you could make one class derived from the other

class A
{
...
};

class B : public A
{
  ...
};

Don't follow Ancient Dragon's advice; it's horrible design.

What do you mean exactly by "single instance class"? Why don't you pass the instance by reference?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.