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.





December 28th, 2008 at 11:26 am
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
January 4th, 2009 at 11:32 pm
Thats pretty dam funny!
April 3rd, 2009 at 1:06 am
haha, shoulda saved that for april 1
-jack
April 3rd, 2009 at 1:06 am
you shoulda saved that for april fools day @_@
-John
April 8th, 2009 at 2:25 am
Please link to that Uncyclopedia article instead of copying it, that article was almost deleted because they think I copied yours.
April 11th, 2009 at 11:03 pm
SpaceMan, I put the link to the article, my mistake for not being more “clear” about the origin of the code.
July 23rd, 2009 at 3:26 pm
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.