May 23, 2013 at 1:49pm UTC
Did the OP do a runner??
Andy
Last edited on May 23, 2013 at 1:49pm UTC
May 23, 2013 at 7:52pm UTC
What is this about? There's no question.
May 23, 2013 at 8:25pm UTC
MrT * Baracas = new MrT;
Only when the plan comes together.
May 23, 2013 at 8:29pm UTC
What's worse is when professors require students to do this "in order to learn pointers".
May 23, 2013 at 9:00pm UTC
1 2 3 4 5 6 7 8 9 10 11 12 13
MrsT* margaret = new MrsT;
margaret->BuildUp();
try {
margaret->RunTheUK();
}
catch (const std::popularity_error&) {
}
margaret->TearDown();
delete margaret;
Last edited on May 23, 2013 at 9:15pm UTC
May 23, 2013 at 9:33pm UTC
I've got to guess the first post is missing.
May 23, 2013 at 9:45pm UTC
According to the first post I can see, did someone actually try to do this in java??
May 23, 2013 at 9:52pm UTC
@EssGeEich: nope.
@Smac89: java is so stupid that you need to tell it twice what do you want.
@Duoas: I don't get it.
Another gem
delete new T;
May 23, 2013 at 11:08pm UTC
@ne555 I believe Duoas is referencing the 2010 A-Team film (There is no Plan B) in which Baracus (one of the characters) isn't played by Mr.T (as he originally was in the tv show).
Last edited on May 23, 2013 at 11:08pm UTC
May 23, 2013 at 11:08pm UTC
Uhm then I'm guessing you're looking for reasons why new sucks?
I'm confused about this thread.
May 24, 2013 at 12:08am UTC
No, seriously, what's going on in this thread?
May 24, 2013 at 2:02am UTC
Hpw are you all that confused about this thread? It's clearly just ne555 conveying his annoyance at so many people improperly using new .
May 24, 2013 at 3:15am UTC
T* ne555 = new T ;
Now you've all seen ne555 newd.
May 24, 2013 at 7:21am UTC
Baracas->AintGettingOnNoPlaneCrazyFool();
May 24, 2013 at 8:55am UTC
until he/she gets a null pointer exception :)