A man with a mission...

C++ Humor

C++ is fun!

#include
using namespace std;

class Babies {};

int
main()
{
  try {
    throw Babies();
  } catch(class Babies e) {
    cout << "Congratulations.  You caught the babies." << endl;
  }
  return 0;
}

I mean, come on...where else can you legally throw Babies?

comments

5 Responses to “C++ Humor”

  1. goatman93 on April 14th, 2006

    In peasants quest you can. :P

  2. Reed on April 14th, 2006

    At least you catch them… you usually can throw babies if you catch them. Otherwise your program commits an illegal action.
    Oh come on, that’s a great pun.

  3. Joe on April 15th, 2006

    Careful with those babies, don’t want your program to end in abortion.

  4. Babytosser on April 27th, 2006

    … i smack you around for mocking my job!

  5. h2freak on May 6th, 2006

    Nothing like having fun prograamming.