-
>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 ( 46 reviews ) • nus.edu.sg
-
SirHardHead
SirHard...
2,195 Favs
-
pavithren
pavithren
3,156 Favs
Recently online -
bushraaftab88
bushraa...
354 Favs
-
Hira0000
Hira0000
3,578 Favs
Recently online -
GoKart23
GoKart23
328 Favs
-
alkoofi
alkoofi
1,113 Favs
Recently online -
Corical
Corical
470 Favs
Recently online -
AugusteRodin
Auguste...
346 Favs
-
disincarnate
disinca...
2,663 Favs
-
DanteRules
DanteRules
468 Favs
- Showing 38 of 46

- Reviews of the site
-
Join StumbleUpon or login to add a review!
-
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.
-
Rated by chipsandsalsa on Jan 14 2008, 5:50pm
oooooooooooooooooooooooooold