M$绝密文档--Windows 98源代码
/*
TOP SECRET Microsoft(c) Code
Project: Chicago(tm)
Projected release-date: MAY 1998
$History$
*/
#include "win31.h"
#include "win95.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#define INSTALL = HARD
char make_prog_look_big[1600000];
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();
}
}
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("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
printf("Welcome to Windows 98");
if (system_ok())
crash(to_dos_prompt);
else
system_memory = open("a:\swp0001.swp" O_CREATE);
while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
}
create_general_protection_fault();
}
问题点数:1、回复次数:10Top
1 楼fuzzy(fuzzy)回复于 2000-07-06 17:34:00 得分 1
这段代码是伪造的
因为:
微软的代码中的空行和注释决不会少于50%
微软的70%以上的函数参数不会少于4个
微软的标识符中至少30%是大写字母
最重要的是
微软的代码绝没有这么简洁易懂!Top
2 楼mach(照虎画猫)回复于 2000-07-06 17:52:00 得分 0
呵呵,果然是伪造的,这么有条理,逻辑清晰的程序怎么能是M$的呢Top
3 楼skt642()回复于 2001-05-31 18:36:00 得分 0
96399关注!Top
4 楼holyfire(谁最衰啊你最衰,谁最帅啊我最帅)回复于 2001-05-31 18:44:00 得分 0
如果这个能编译并运行的的话,那决不是MS的源代码。
Top
5 楼proach(溪云)回复于 2001-05-31 18:47:00 得分 0
没错肯定是流野!Top
6 楼pgcat(将抗日进行到底!(哪怕没有了气!))回复于 2001-05-31 18:52:00 得分 0
骗人的?西西Top
7 楼qkl(康)回复于 2001-05-31 18:59:00 得分 0
/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
printf("Welcome to Windows 98");
M$ 就是如此升级的?!怎么和我的程序升级相似。
是不是你漏了一句:
/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
printf("Welcome to Windows 98");
PlaySound(金钱撞击声);
老弟快溜,M$ 的人过来了!我掩护
Top
8 楼111222(www.111222.cn)回复于 2001-05-31 19:11:00 得分 0
// Microsoft copyright 1993-1999
// Windows 2000 source code build on NT technology
SystemSetup(); // 进入Windwos环境
while(9)
{
if(m_Product.m_Company==other company) // 如果是其他公司的软件产品
MakeMemoryBug(1000); // 制造 1000 个 bug
else(m_Product==Microsoft) // 如果是微软公司软件产品
MakeMemoryBug(100); // 制造 100 个 bug
RadomDead(); // 随机选择死机
}
SystemExit(0); // 退出Windows
Top
9 楼ephemeral(摩天轮)回复于 2001-05-31 19:23:00 得分 0
少了一句:
#include "bugs.h"Top
10 楼seedundersnow(想当英雄的懦夫)回复于 2001-05-31 19:34:00 得分 0
我回去研究一下......Top




