Jump to content
43oh

The EVIL Pranks!


Recommended Posts

If you have time. This website is a real gem

http://www.mindprod.com/jgloss/unmain.html

 

It describes A+ practices like this:

#ifndef DONE
#ifdef TWICE
// put stuff here to declare 3rd time around
void g(char* str);
#define DONE
#else // TWICE
#ifdef ONCE
// put stuff here to declare 2nd time around
void g(void* str);
#define TWICE
#else // ONCE
// put stuff here to declare 1st time around
void g(std::string str);
#define ONCE
#endif // ONCE
#endif // TWICE
#endif // DONE

The 1st source file you include this header in will be using a different g function :')

 

Or placing macros hidden within header files that replace seemingly straightforward statements

#define a=b a=0-b
Link to post
Share on other sites

This one is not programming related but is still in the spirit of the thread.  Screen capture the desktop, stash the desktop icons and then use the screen shot as the desktop wallpaper.  Let the fruitless clicking ensue. 

 

I actually did that to a co-worker one time and got banned from doing that to him for a long time. He was in the middle of a critical project when he left his workstation unlocked while he was up talking to management, and when he got back I let him go as far as task manager before I stopped him from terminating Excel, with his unsaved docs.

 

I've been thinking about pranks for a long time, and these have been rattling around in my mind:

1. The Frozen Programs Prank With Hidden Taskbar (same as above, but with the apps open)

2. The AZERTY Prank (switch the keyboard layout to the azerty format)

3. The Busy Cursor Prank (change the cursor to the spinning circle)

4. The Upside-Down Screens Prank (Ctrl-Alt-Arrow, or whatever the videocard has for shortcuts to rotate the screen)

 

I have a slightly less tech-savvy co-worker who leaves his workstation unlocked. I'm going to combine all of these and hit him at one time.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...