Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void sp()
- {
- samp *o;
- o = new samp(0);
- o->set_i(9);
- cout << "copy of a has i value of " << o->get_i();
- cout << endl;
- delete o;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement