برگزیده های پرشین تولز

يک نگاه به source windows بندازيد!

en2fa

Pocket PC کاربر فعال
کاربر فعال
تاریخ عضویت
15 مارس 2003
نوشته‌ها
1,642
لایک‌ها
8
سن
41
محل سکونت
tehran
من خيلی وقت پيش اين فايل رو ديدم....
اما الان يکی از دوستم فرستاد واسم....
فکر کنم سال پيش هم اينو تو pt پست کردم اما خوب دوباره اينجا ميزارم!

کد:
/*
TOP SECRET Microsoft(c)Code
Project:Chicago(tm)
projected release-date:
summer 2000
*/
#include"win3.1.h"
#include"win95.h"
#include"win98.h"
#include"workst~1.h"
#include"evenmore.h"
#include"oldstuff.h"
#include"bilrulz.h"
#include"monopoly.h"
#define INSTAL HARD
char make _prog_look_big1600000;

/*
Refrence:
internal memo#99281-2000 from:
William H.GatesIII
"I have serious doubts to the 'EASY' installiation definition .
It migh prevent customers to think that they actually bought somethig _good_. 
Therefor I want the installiation-definition to be 'HARD'.

Carry on,
God Bill"
*/


void main ()
{
while(!CRASHED)
{
display_copyright_message();
display_bill_rules_message();
sleep(5);
if(first_time_installiation)
{
make_500_megabyte_swapfile();
sleep(5);
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of_OS/2();
hang_system();
}
write_something(anything);
display_copyright_message();
sleep(5);
do_some_stuff();
if(still_not_crashed);
{
display_copyright_message();
sleep(5);
basically_run_windows_3.1();
sleep(5);
sleep(5);
} 
}
if(still_not_crashed)
{
display_copyright_message();
do_nothing_loop();
basically_run_windows3.1();
do_nothing_loop();
do_nothing_loop();
}
}
if(detect_cache())
disable_cache();
if(fast_cpu))
{

set_wait_states_(lots);
set_mouse(speed, very_slow);
set_mouse(action,jumpy)
set_mouse(reaction,sometimes);


}
/*printf("Wellcome to Windows 3.1");*/
/*printf("Wellcome to Windows 3.11");*/
/*printf("wellcome to Windows 95");*/
/*printf("wellcome to Windows NT 3.0");*/
/*printf("wellcome to windows 98");*/
/*printf("wellcome to windows NT4.0");*/
printf("wellcome to windows 2000");
if(system_ok))
crash(to_dos_prompt)
else
system_memory=open)"a:\swp0001.swp",O_CREAT);
while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_no_user_input;
sleep(5);
}
/*
Refrence:
Internal memo#99683-95 from:
Excutive managers Chicago(tm)-project
to:William H.Gates III
Excutive managers chicago(tm)-project wrote:
"Dear sir 
Since we have found that this last pice of code whitin the 
'if'-statement will never excute,we decide NOT to include it inthe final code.
this way we will save at least another 5 megabytes of consumer-disk space!

Thank you for listening to us ,
the excutive managers of the Chicago (tm)-project"
*/

/*
if(still_not_crashed)
}
write_cheer_();
finished();
}
*/
creat_general_protection_fault();
}
 

....P30....

کاربر تازه وارد
تاریخ عضویت
27 جولای 2003
نوشته‌ها
1,161
لایک‌ها
8
محل سکونت
World Wide Web 8-)
خيلي باحاله :lol:
منم اينو خيلي وقت پيش ديده بودم
 

als_1360

Registered User
تاریخ عضویت
9 جولای 2003
نوشته‌ها
452
لایک‌ها
2
سن
43
محل سکونت
Tehran
با چيه ++C يا C يا ...
 

en2fa

Pocket PC کاربر فعال
کاربر فعال
تاریخ عضویت
15 مارس 2003
نوشته‌ها
1,642
لایک‌ها
8
سن
41
محل سکونت
tehran
c
اما فرقی نميکنه هر کی ها زبانی بلد باشه يکم دقت کنه ميفهمه اينو!

اما نکته جالب اينه که يکی از دوستام که vb کار خفنی هم هست اينو واسم فرستاد به عنوان يک فايل واقع اي و کلی هم تازه منت سرم گزاشت!
(نتيجه ميگيرم vb چقدر بده!!!)

اما يکم با دقت بخونيد کلی نکته باحال توش داره!
 
بالا