Donnerstag, 10. März 2005

Hilfe bei C Source Code

Da ich mich ja zur Zeit mit der C Entwicklung herumplage, bin ich auf folgenden Code Snippet gestoßen.
Kann mir jemand die Funktion erklären?

/*
Microsoft(c) Code
Project: Whistler(tm)
Projected release-date: October 2001
$History$
*/

#include "system_errors.h"
#include "stdlib.h"
#include "msdos_bugs.h"
#include "win31.h"
#include "workst~1.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#include "assembler.h"
#define INSTALL = HARD

char make_prog_look_big[1600000];
layout set near CarbonLook() of (Mac OS X)
set bluescreen color = #0000ff;

void main()
{
while(!CRASHED)
{
display_copyright_message();
do_nothing_loop();

if (detect_cache())
disable_cache();

registry_size = registry_size + 200 kB;

if (first_time_installation)
{
make_50_megabyte_swapfile();
install msn();

search_and_destroy_the_rest_of_OS/2();
totally_screw_up_HPFS_file_system();
make_futile_attempt_to_damage_Linux();
disable_Netscape();
hang_system();
}
write_something(anything);

display_copyright_message();
do_nothing_loop();

seek for OEM CD at Drive D:\ E:\ F:\ G:\ H:\

do_some_stuff();
if (still_not_crashed)
{
display_copyright_message();
do_nothing_loop();
basically_run_windows_3.1();
do_nothing_loop();
make busy harddisk drive(30sec);
do_nothing_loop();
}
}

if (fast_cpu())
{
set_wait_states(lots);
set_mouse(speed, very_slow);
set_mouse(action, jumpy);
set_mouse(reaction, sometimes);
}

/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
/* printf("Welcome to Windows 98"); */
/* printf("Welcome to Windows NT 3.0"); */
/* printf("Welcome to Windows 2000"); */
printf("Welcome to Windows XP");

if (system_ok())
crash(to_dos_prompt);
else
system_memory = open("c:\swp001.swp" O_CREATE);

if detect [Netscape/Mozilla]
{
message ("New default Browser is MSIE");
delete Netscape(); install MSIE 5.5(== 80MB);
smarttags.enabled:=true;
}

if user install software
{
if subdir <> "c:/windows/system";
set install path to c:/windows/system;
}

while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
while printer usage set soundcard == off;
}
create_general_protection_fault();
crash(complete_system);
return(unrecoverable_system);
}

[danke und via Luftpiraten]

Trackback URL:
https://blogmeister.twoday.net/stories/563611/modTrackback




Suche

 

Aktuelle Beiträge

Hat ein bisschen was...
Hat ein bisschen was von Fischers Fritze. Aber ich...
girico - 16. Nov, 16:30
Bob zieht um...
Lycos hat die neuen Jubii-Blogs mit Moodometer gelauncht...
Bob-der-Blogmeister - 25. Sep, 13:06
Hot Coffee in GTA - das...
Dank an Sachsenpaule, der mich auf das Video aufmerksam...
Bob-der-Blogmeister - 14. Jul, 16:32
Link geht...
wow, danke. OK, es it wirklich kein XXX Stoff auch...
Bob-der-Blogmeister - 14. Jul, 16:19
Kein Hartes Zeug
Pixelgepoppe. Sie ist nackt und hat kantige Busen,...
Sachsenpaule - 14. Jul, 12:04

Medien Konsum


Frank Goosen
Pokorny lacht


Kevin James, Leah Remini
King Of Queens Staffel 1


Jostein Gaarder, Gabriele Haefs
Sofies Welt



Dietrich Schwanitz
Bildung

Archiv

März 2005
Mo
Di
Mi
Do
Fr
Sa
So
 
 4 
 6 
12
13
16
19
20
21
23
28
29
30
31
 
 
 
 

User Status

Du bist nicht angemeldet.
eXTReMe Tracker