Garmaine Staff asked 1 year ago

Let's suppose that we have the class Friends, what I would like to do is something like this:

string newclassinstance;
cout << "new name:";
getline(cin, newclassinstance);

Friends newclassinstance();