CRM Hosting


Add to Technorati Favorites

Microsft Office source code example

Here is a snippet of MS Office source code, leaked some time ago:

From here:
http://uncyclopedia.wikia.com/wiki/Microsoft_Office_source_code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  #include <iostream.h>
    #include <vengeance.h>
    #include <world/domination.h>
    #include <monopoly.h>
    #include <evil.h>
    #include <office.h>
    #include <clippy.h>
    #include <annoying.h>
    #define USER_FRIENDLY NULL
    int main(argc,argv)
    {
        while (!CRASHED)
        {
            initialize();
            open_document(argv);
            do_nothing_loop();
            popup_clippy(clippy_quotes[rand(0,666)]);
            if (save_button_is_pressed())
            {
                popup_clippy("Word is about to crash. There is no chance of saving your document. Would you like to play a game?", "Yes", "No");
            }
            if (new_document_is_pressed())
            {
                stuff_hard_drive(66666);
                wait(6666);
                create_new_document();
            }
            if (key_pressed)
            {
                popup_clippy("It seems you are typing, need some help??");
            }
            if (quitted())
            {
                popup_clippy("Don't go! I want to play with you!!!");
                return 0;
            }
        }
        return CRASHED;
    }



More on uncyclopedia.wikia.com
:)


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button
Comments are DoFollow, so you may consider writing a small note :)

7 Responses to “Microsft Office source code example”

  1. LOL I am a software engineering student, and I was excited at first that I was going to get a glimpse at the code, but then, I just laughed at the obvious joke ;)

    Till then,

    Joe

  2. Thats pretty dam funny!

  3. haha, shoulda saved that for april 1 :o
    -jack

  4. you shoulda saved that for april fools day @_@
    -John

  5. Please link to that Uncyclopedia article instead of copying it, that article was almost deleted because they think I copied yours.

  6. SpaceMan, I put the link to the article, my mistake for not being more “clear” about the origin of the code.

  7. Crash, it s great. Its really how Windows XP is working. It leaves you completely alone with your Questions. Funny Answers like yours would be better in Microsofts Tutorials – because they doesn’t work.

Leave a Reply



BRDTracker