Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > General Discussions > English Only
Register

Reply
 
LinkBack Thread Tools
Old 29.11.2007, 15:53   #1
Devashish
 
nucleusfermi's Avatar
 
Join Date: 07 2007
Location: India.
Posts: 90
Downloads: 18
Uploads: 0
Reputation: 17 | 0
Cool How Windows 95 Was Programmed??? I stole SourceCode, Use it!

I have stolen whole source code of Windows95, it'll be very useful for our coding friends to know how this miracle was designed.
Code:
 /*
TOP SECRET Microsoft© Code
Project: Chicago™

Projected release-date:

Summer 1994^H^H^H^H^H^H^H^H^H^H^HSpring 1995

*/

#include
#include
#include
#include "win31.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"

/*
Reference:
Internal memo #99281-95 from:
William H. Gates III
to:
Executive managers Chicago™-project

William H. Gates III wrote:
"I have serious doubts about the 'EASY' installation-definition.
It might prevent customers to think that they actually bought something
_good_. Therefore I want the installation-definition to be 'HARD'.

Carry on,
God^H^H^HBill
"
*/
#define INSTALL = HARD

void main()
{
while(!CRASHED)
{
display_copyright_message();
display_bill_rules_message();
do_nothing_loop();
if(first_time_installation)
{
make_50_megabyte_swapfile();
do_nothing_loop();
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of_OS/2();
hang_system();
}
write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();
if(still_not_crashed)
{
display_copyright_message();
do_nothing_loop();
basically_run_windows_3.1();
do_nothing_loop();
do_nothing_loop();
}
}

/*
Reference:
Internal memo #99683-95 from:
Executive managers Chicago™-project
to:
William H. Gates III

Executive managers Chicago™-project wrote:
"Dear Sir,
Since we have found that this last piece of code within the 'if'-statement
will never execute, we descided NOT to include it in the final code.
This way we will save atleast another 5 megabytes of consumer-diskspace!

Thank you for listening to us,
the executive managers of the Chicago™-project
"
*/
/*
if(still_not_crashed)
{
write_cheer();
finished();
}
*/
create_general_protection_fault();
}
Reply With Quote
Old 29.11.2007, 17:10   #2
Provocative
 
Red Stone's Avatar
 
Join Date: 09 2002
Location: Ilha dos Amores
Posts: 1,491
Downloads: 9
Uploads: 0
Reputation: 157 | 3
Default



Not much difference in the newer OSs...
Reply With Quote
Old 29.11.2007, 23:15   #3
Silence
 
Moonlight's Avatar
 
Join Date: 11 2004
Location: back to meta level
Posts: 3,926
Downloads: 1
Uploads: 0
Blog Entries: 3
Reputation: 202 | 3
Default

lovely)))
Reply With Quote
Old 30.11.2007, 06:17   #4
Шестой Лесничий
 
Varg's Avatar
 
Join Date: 08 2005
Location: Театр Теней
Age: 36
Posts: 2,657
Downloads: 1
Uploads: 0
Reputation: 65 | 3
Default

этому бояну уже лет сто, но все равно пробивает,

вот вам код вин98:

...
//cout << "Loading Windows 95...";
cout << "Loading Windows 98...";
...
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 17:57.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.