4th May 2018, 6:44 AM
Wesam
Wesam - avatar
2 Answers
+ 9
Is this from home work? There is quite a bit missing from your example. One way would be to use new / delete. name *s = new name; //do stuff delete s;
4th May 2018, 7:04 AM
jay
jay - avatar
0
sorry I forget types thank you very much
4th May 2018, 7:28 AM
Wesam
Wesam - avatar