2008-04
08
微软的 Windows7 据说明年就要发布了,可怜的 Vista,还没有来得及普及就即将要遭到被淘汰的命运了,从这个角度来说 Vista 和 IE7 倒是很相似。我估计有很多用户和我的打算一样,准备越过 Vista 直接从 Windows XP 向 Windows7 挺进。
今天在白云黄鹤 Humor 版看到一个恶搞 Vista 的笑话,稍微有点C语言基础的甚至只要有一点英文基础的就可以看懂了。传说中的 Vista 源代码如下:
/*
GNOT General Public License!
(c) 1995-2007 Microsoft Corporation
*/
#include "dos.h"
#include "win95.h"
#include "win98.h"
#include "sco_unix.h"
class WindowsVista extends WindowsXP implements Nothing {}
int totalNewFeatures = 3;
int totalWorkingNewFeatures = 0;
float numberOfBugs = 345889E+O8;
boolean readyForRelease = FALSE;
void main {
while (!CRASHED) {
if (first_time_install) {
if ((installedRAM < 2GB) || (processorSpeed < 4GHz)) {
MessageBox("Hardware incompatibility error.");
GetKeyPress();
BSOD();
}
}
Make10GBswapfile():
SearchAndDestroy(FIREFOX|OPENOFFICEORG|ANYTHING_GOOGLE);
AddRandomDriver();
MessageBox("Driver incompatibility error.");
GetKeyPress();
BSOD();
}
//printf("Welcome to Windows 2000");
//printf(Welcome to Windows XP");
printf ("Welcome to Windows Vista");
if (still_not_crashed){
CheckUserLicense();
DoubleCheckUserLicense();
TripleCheckUserLicense();
RelayUserDetaitsToRedmond();
DisplayFancyGraphics();
FlickerLED(hard_drive);
RunWindowsXP();
return LotsMoreMoney,
}
}