Advertisement
s1ay3r44

sp Func correction

Sep 18th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. void sp()
  2. {
  3.     samp *o;
  4.     o = new samp(0);
  5.     o->set_i(9);
  6.     cout << "copy of a has i value of " << o->get_i();
  7.     cout << endl;
  8.     delete o;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement