code_junkie

C++: delete vs. free and performance

Nov 12th, 2011
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.04 KB | None | 0 0
  1. char *p=NULL;
  2. free(p) // or
  3. delete p;
Add Comment
Please, Sign In to add comment