-
>there is memory leak in the seasoned programmer >version. string(const string &s) : size(s.size) { ptr = >new char[size + 1]; strcpy(ptr, s.ptr); } you are not >freeing memory of the old string that ptr points to. Yeah, that's because the seasoned programmer... more
Reviewed by Joe-Anonymous Sep 01 2007, 02:13pm ( 47 reviews ) • nus.edu.sg
- Showing 39 of 47

- Reviews of the site
-
Join StumbleUpon or login to add a review!
-
Rated by phabius on Nov 24, 10:13pm
This is unbelievably old. Like from the 14400 dial-in BBS era.
-
Rated by rhyre on Jul 15, 11:29pm
It's funny but sad at the same time.
-
Reviewed by thybag1 on Mar 22 2009, 7:10pm
Yay for fail code, the guru hacker option is pretty much the only one here that isn't totally illogical and useless.
-
Rated by crazyquesadilla on Jan 04 2009, 1:28am
Wait, so the more experienced they get the more complex their code looks? If they were experienced why wouldn't they just keep it simple, like the good old days of finishing high school?
-
Rated by dragonjazz on Jul 12 2008, 1:54pm
oldie but goodie (and too true for comfort).
-
Rated by Delirious-Storm on Jul 07 2008, 5:20pm
I think the moral is to keep it simple. A good message.
-
Reviewed by nphp16 on Jun 24 2008, 10:02pm
Older than the interwebs themselves.
-
Rated by gazell on Mar 25 2008, 12:48pm
This makes be lois every time I see it.