Spread the love
«en C++ casi todo tiene alguna excepción o caso especial.» 1
En esta sección recopilaré algunas frases interesantes en torno a C / C++ que valga la pena conocer.
#include “dos.h”
#include “win95.h”
#include “win98.h”
#include “winNT.h”
#include "monopoly.h"
#include "backdoor.h"
#define TIPO_INSTALACION = DIFICIL
#include “sco_unix.h”
class windows7 extends Windows XP implements Nothing {}
int totalNewFeatures =3;
int totalWorkingNewFeatures = 0;
float numberOfBugs = 345889E+08;
boolean readyForrelease = FALSE;
void main ()
{
display_copyright_message();
while (!CRASHED){
if (first_tiem_install){
if ((installedRAM < 2GB || (processorSpeed < 4GHz))
{
MessageBox("Error: hardware incompatible.");
GetKeyPress();
BSOD();
}
}
Make10GBswapfile();
SearchAndDestroy(FIREFOX|OPENOFFICEORG|ANYTHING_GOOGLE);
AddRandomDriver();
MessageBox("Error: Controlador incompatible.");
GetKeyPress();
BSOD();
}
//Printf("Bienvenido a Windows NT");
//Printf("Bienvenido a Windows 2000");
//Printf("Bienvenido a Windows XP");
//Printf("Bienvenido a Windows VISTA");
Printf("Bienvenido a Windows 7");
if (still_not_crashed){
CheckUserLicense();
DoubleCheckUserLicense();
TripleCheckUserLicense();
RelayUserDetailsToRedmond();
DisplayFancyGraphics();
FlickerLED(hard_drive);
RunWindowsVISTA();
}
return LotsMoreMoney;
}
– Publicado el código fuente de Windows 7 – 2

Fuentes:
- – http://www.zator.com/Cpp/E4_4_7.htm
- – Tomado del Blog de Jesús Amiero. Nota para programadores nuevos: Naturalmente es código de broma, no vayas a pensar que va en serio 😀
C++ Presentación by Roberto C. González is licensed under a Creative Commons Reconocimiento-NoComercial-CompartirIgual 4.0 Internacional License.
Spread the love