|
|
|||||||
| Computers & Information Technologies « Everything related to computers and internet. » |
![]() |
|
|
Share | Thread Tools | Search this Thread |
|
|
#1 |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
Code:
// File name: PincaColada.cpp
// Author: Edgard Chammas
// Disclaimer: Keep two things in mind:
// 1- Don't compile while you're drunk.
// 2- The author will not hold any responsibility
// for whatever might happens after you execute
// this program since he is from Lebanon...
// Advisory: Parental advisory, explicit content
// Preface: I dedicate this program for my wife and my
// 3.00 children. I love you! <3
#include <windows.h> // <3
#include <ctime> // NoICantSeeTime! >_>
#include <iostream> // Feyet/Tale3
using namespace std; // 2esTiDi! :D
#include <cassert> // Always check your poket! ;)
#define NewYearEve(aret, seker, wta2, hanak, w2ekel, hawa, wtebwis, wle3eb, wte7shish, wshereb, wPinaColada, wej3ir, wsex, w2osas, w2alla, yestor, chou, ba3ed, fi, haraket, manyakeh, sterou, masheftou, menna, ya, jame3a) wej3ir##wsex##masheftou##jame3a //?. Mbala shefna kell shi...
#define Celebrate NewYearEve(y,e,n,t,e,k, ,3,a,l, ,m,a,n,e,y,e,k, ,j,a,m,i,3,a,n)
bool TestFawwetle( char [] );
void Tsalla_shway( unsigned );
void Zammer ( unsigned );
char Celebrate()
{
char fawwetle[64] = "fadeh...";
system( "@echo off" );
system( "color 0a" );
unsigned bel_3ared = GetSystemMetrics ( SM_CXSCREEN ) - 1;
unsigned bel_toul = GetSystemMetrics ( SM_CYSCREEN ) - 1;
srand( time( 0 ) ); // Tombola! :D
cout << "\nF5 is needed here to stop \"manyakeh\"..." << endl;
while( !GetAsyncKeyState( VK_F5 ) ) // Kill any bastard in one button!
{
SetCursorPos( (rand() % bel_3ared ) + 1, ( rand() % bel_toul ) + 1 );
Beep( rand(), 15 ); // Miaw!!!
}
system( "ver" );
cout << "\nWhere did you spend the new year eve 2010?\n";
cin >> fawwetle;
Tsalla_shway ( 2000 );
cout << "Hmmm...\n";
Tsalla_shway ( 3000 );
if( TestFawwetle ( fawwetle ) )
{
cout << "It doesn't matter...\n";
Tsalla_shway ( 1500 );
cout << "Let me tell you what...\n";
Tsalla_shway ( 1500 );
cout << "Whenever you was, I hope you enjoyed \"habeltak\" ! :)\n";
Tsalla_shway ( 1500 );
cout << "Happy New year! :D\n";
Zammer ( 3 );
}
else { cout << "Stop it! Don't make me puke my PinaColada!\n"; }
cin.ignore( cin.rdbuf()->in_avail() + 1 );
return '\x00';
}
bool TestFawwetle ( char fawwetle[] )
{
return ( strlen( fawwetle ) < 128 );
}
void Tsalla_shway ( unsigned wa2et )
{
double mou2akkat = clock() + wa2et;
while ( mou2akkat > clock() );
}
void Zammer ( unsigned zammour )
{
assert( zammour > 0 );
for ( unsigned i = 0 ; i < zammour; i++ )
{
Beep( 2000 , 1500 );
Tsalla_shway ( 700 );
}
}
__________________
|
|
|
|
| The Following 3 Users Say Thank You to Google For This Useful Post: |
|
|
#2 |
|
Beyond the Code
Last Online: 06-15-2014
Join Date: Sep 2008
Posts: 2,993
Thanks: 2,214
Thanked 3,426 Times in 1,499 Posts
Groans: 57
Groaned at 69 Times in 52 Posts
|
nice!
after reading the code and the comments(which are hilarious ), it looks like u were drunk while writing this program ![]()
__________________
Whatever you do, do it for the Lulz. |
|
|
|
| The Following User Says Thank You to Neoxter For This Useful Post: | Tawa (01-02-2010) |
|
|
#3 |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
I was doing some search on Bing.com and found something that needs some explanation.
![]() What this piece of code, that I wrote one night while I was tipsy, has to do on the main page of this website!
__________________
|
|
|
|
|
|
#4 |
|
Registered Member
Last Online: 10-14-2022
Join Date: Dec 2006
Posts: 10,467
Thanks: 14,136
Thanked 4,244 Times in 2,547 Posts
Groans: 186
Groaned at 198 Times in 120 Posts
|
barki mfakreena a picture for pina collada w 7ateen l code
![]()
__________________
problems of performance appraisal is that it sucks to memorize them |
|
|
|
|
|
#5 |
|
Beyond the Code
Last Online: 06-15-2014
Join Date: Sep 2008
Posts: 2,993
Thanks: 2,214
Thanked 3,426 Times in 1,499 Posts
Groans: 57
Groaned at 69 Times in 52 Posts
|
one of those three:
1-this is a prank being played by you ![]() 2-a friend of yours hacked into this guy's website and posted this code there. 3-the owner of the site is a complete n00b and doesn't know shit abt websites and he put that code there by some chance he found it..
__________________
Whatever you do, do it for the Lulz. |
|
|
|
|
|
#6 |
|
Super Moderator
Last Online: 02-16-2022
Join Date: May 2006
Posts: 5,580
Thanks: 1,888
Thanked 2,653 Times in 1,593 Posts
Groans: 55
Groaned at 35 Times in 32 Posts
|
HAHAHAHAHAHAHAHA this crap is funny!!
__________________
click on 'Groan' to switch to my left testicle. |
|
|
|
|
|
#7 | |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
Quote:
1- Nope. Why would I do that. Why would I place that code especially on that website and on that specific place. ![]() 2- Maybe, but what's the point? I didn't even know about it until I saw it today as one of Bing.com results. ![]() 3- I don't think that he's noob. And if he was, it's impossible for him to be that much stupid! In the worst cases, he should have noticed what he did! I don't have a girlfriend.
__________________
|
|
|
|
|
| The Following User Says Thank You to Google For This Useful Post: | Neoxter (01-19-2010) |
![]() |
|
| Tags |
| eve, night, program, wrote, year |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|