class mainClass
{
public :
mainClass(void);
~mainClass();
void function(void);
myClass *names;
};
mainClass::mainClass(void)
{
names = new myClass();
function();
}
mainClass::~mainClass()
{
delete names;
}
void mainClass::function(void)
{
// How to get VS'whole's package in here
}
int main()
{
myClass someName;
}
/*
Hey everyone this code is bit long and I apologize for that,hope you help on this one It given me so
much pain,I cant sleep ,I cant eat ,I can't find any book talking about It :)
what I am trying to do is to get elements of the vector VS into mainClass as parameter and I dont
know how to do It ,so can you help me
thanks a lot
*/