طنز سورس کد Windows Vista به زبان ++C
/* 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+08;
bool readyForRelease = FALSE;
void main {
while(!CRASHED) {
if (first_time_install) {
if ((installedRAM < 2GB)||(processorSpeed < 4GHz)) {
MessageBox("Hardware incompatibility error.");
GetKeyPress();
BSOD();
}
}
Make10GBswapfiles();
SearchAndDestroy(FIREFOX|OPENOFFICEORG|ANYTHING_GOOGLE);
GetKeyPress();
BSOD();
}
//printf("Welcome to Windows 2000");
//printf("Welcome to Windows XP");
printf("Welcome to Windows Vista");
if (Still_not_crashed){
CheckUserLicense();
DoubleCheckUserLicense();
TripleCheckUserLicense();
RelayUserDetailsToRemand();
DisplayFancyGraphics();
FlickerLED(hard_Drive);
RunWindowsXP();
return LostMoreMoney;
}
}