The point is to initialize a pointer to a Mystic object with the value "beep" any idea?
class Mystic {
private:
string label;
Mystic(string & newlbl) { setLabel (newlbl)};
public:
void setLabel(string newlbl){label = newlbl;}
Mystic() : label(){};
};
int main(int argc, char *argv[])
{
... //i tried this
//string *p1 = new string("beep");
//Mystic myst(p1);
}