[HS] délire, le code source de windows XP !

délire, le code source de windows XP ! [HS] - Video & Son

Marsh Posté le 22-07-2001 à 01:31:15    

Bon, bien sûr c'est une parodie, et faut avoir des notions de C, mais c'est marrant, surtout ce qui est en gras :
 
/*  
TOP SECRET Microsoft(c) Code  
Project: Whitsler(tm)  
*/  
 
 
/*  
 Reference:  
 Internal memo William H. Gates III  
 to:  
 Executive managers Whitsler(tm)-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,  
 Bill  
 "  
*/  
 
void main()  
{  
 int system_id;
 
 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();  
   switch (system_id) {
    case WINDOWS_31:
     basically_run_windows_3.1();
     break;
 
/* ---  DO NOT USE THIS PORTION
    case WINDOWS_95:
     if (is_processor() >= INTEL_486)
      lauchn_windows_95();
     else {
      display_error_message();
      shutdown();
     }
     break;
    case WINDOWS_98:
    case WINDOWS_SE:
    case WINDOWS_ME:
     if (detect_plug_and_pray() == FALSE) {
      display_message("Fatal error", "Reinstall Windows please" );
      shutdown();
     } else {
      sleep(1000000);
      if (wait_for_crashed() == TRUE) {
       display_message("General Protection Fault at 0x0084CE8512" );
      } else {
       launch_windows_98();
      }
     }
     break;
*/
 
    case WINDOWS_NT:
    case WINDOWS_2000:
    case WHITSLER:
     if (procesor_type() == PROCESSOR_AMD) {
      SetCache(DEACTIVATED);
      SetGraphicAccelerator(DEACTIVATED_3D_ACC)
;
     }
     if ((processor_test() > INTEL_586) && (memory_test() > 1e9) && (diskspace_test() > 1e10)) {
      uninstall("netscape.isu" );
      uninstall("realplayer.isu" )
;
      if (codecSelected("MP3_codec.dll" ) == TRUE) {
       open("MP3_codec.dll" );
       setproperty("bitrate", 10);
      }
      do_nothing_loop();
      SetParameter(COPYRIGHT_TEXT);
      SetParameter(PROTECTION_ACTION);
      if (system_crashed() == FALSE) {
       if (detect_bug() == TRUE) {
        send_message("Contact Microsoft hot line please" );
        shutdown();
       } else {
        wait_for_nothing();
/*        launch_windows_31(); */
        launch_windows_nt();        
       }
      }
      else {
       display_message("" );
       shutdown();
      }
     }
     do_nothing_loop();  
     do_nothing_loop();  
     uninstall("WINDOWS.isu" );
     sys_command("format", "c" );
     break;
   }
  }  
 }  
 
 /*  
  Reference:  
  Internal memo Executive managers Win95(tm)-project  
  to:  
  William H. Gates III  
 
  Executive managers Whitsler(tm)-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  
  Whitler(tm)-project  
  "  
 */  
 
 /*  
  if(still_not_crashed)  
  {  
   write_cheer();  
   finished();  
  }  
 */  
 create_general_protection_fault();  
}
 
void lauchn_windows_95()
{
 while (system_crashed() == FALSE) {
  do_nothing();
  do_nothing();
  if (internet_activated() == TRUE) {
   send_message("microsoft@service.com", get_user_information());
  }
  wait_for_system_messages();
 }
}
 
void launch_windows_98()
{
 while (system_crashed() == FALSE) {
  do_nothing();
  do_nothing();
  if (internet_activated() == TRUE) {
   send_message("microsoft@service.com", get_user_information());
  }
  wait_for_system_messages();
 }
}
 
void launch_windows_nt()
{
 while (system_crashed() == FALSE) {
  do_nothing();
  do_nothing();
  if (internet_activated() == TRUE) {
   send_message("microsoft@service.com", get_user_information());
  }
  wait_for_system_messages();
  if (service_pack_number != 20 && bug_counter() > 100) {
   int a = random();
   if (a == 10) {
    display_message("Please install new service pack of Windows" );  
   }
  }
 }
}

Reply

Marsh Posté le 22-07-2001 à 01:31:15   

Reply

Marsh Posté le 22-07-2001 à 02:07:16    

Je l'avais déjà vu, mais j'admets que c'est toujours amusant à parcourir :D

Reply

Marsh Posté le 22-07-2001 à 09:30:14    

c'est clair , que c'est trop çà le code de Windaube.
 
if(temps_depuis_le_dernier_crash() > 60minutes)
{
  int a = rand() % 100;
  MessageBox("Erreur n°",a);
  reboot();
}

Reply

Marsh Posté le 22-07-2001 à 16:36:35    

:lol:


---------------
@+ jaja - mansoncollections
Reply

Marsh Posté le 22-07-2001 à 17:08:36    

cest vraimment le code source de win ca  :lol:  :lol:  
 
ou cest juste un truc pour delirer  :D ???

Reply

Marsh Posté le 22-07-2001 à 17:09:17    

if (procesor_type() == PROCESSOR_AMD) {
     SetCache(DEACTIVATED);
     SetGraphicAccelerator(DEACTIVATED_3D_ACC);
 
 :lol:  :lol:  :lol:

Reply

Marsh Posté le 22-07-2001 à 17:26:16    

if (internet_activated() == TRUE) {
  send_message("microsoft@service.com", get_user_information());
}
 
C'est pas mal non plus :lol:


---------------
Développeur de FreeVCR : http://freevcr.ifrance.com [:gilou2]
Reply

Marsh Posté le 22-07-2001 à 17:32:00    

c'est une blague, sous forme de code source que j'ai piqué sur un site de warrior rebelzz comme disait ch'ais plus qui...
 
A+

Reply

Marsh Posté le 22-07-2001 à 21:11:26    

if ((processor_test() > INTEL_586) && (memory_test() > 1e9) && (diskspace_test() > 1e10)) {
     uninstall("netscape.isu" );
     uninstall("realplayer.isu" );
 
 :lol:  :lol:  :lol:  :lol:  :lol:  :lol:

Reply

Marsh Posté le 22-07-2001 à 21:13:18    

if (system_crashed() == FALSE) {
      if (detect_bug() == TRUE) {
       send_message("Contact Microsoft hot line please" );
       shutdown();
 
 
 :lol:  :lol:  
trop fort
 
tas aps lurl du site????

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed