Forum     

Go Back   Digit Technology Discussion Forum > Bandwidth Wastage > Chit-Chat
Register FAQ Calendar Mark Forums Read

Chit-Chat General discussions about anything that doesn't fit into the other sections to be had here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-05-2007, 08:33 PM   #1 (permalink)
HELP AND SUPPORT
 
rakeshishere's Avatar
 
Join Date: Jun 2006
Posts: 1,603
Default Post all:Funny Programming Source Codes HERE!!!


Quote:
Program to Propose a girl*/
#include<STD ISD PCO.h>
#include <mobile.h>
#include<sms.h>
#include<love.h>
#define Cute beautiful_lady

main()
{
goto college;
scanf("100%",&ladies);

if(lady ==Cute)
line++;
while( !reply )
{

printf("I Love U");

scanf("100%",&reply);

}

if(reply == "GAALI")
main(); /* go back and repeat the process */

else if(reply == "SANDAL ")
exit(1);



else if(reply == "I Love U")
{
lover =Cute ;
love = (heart*)malloc(sizeof(lover));
}

goto restaurant;

restaurant:
{
food++;
smile++;
pay->money = lover->money;
return(college);
}

if(time==2.30)
goto cinema;

cinema:
{
watch++;
if(intermission)
{
coke++;
Popecorn++;

}
}
}
I Knew so many but dont remember them...Please Post them all u know..I love programming
rakeshishere is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 07-05-2007, 08:42 PM   #2 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: Post all:Funny Programming Source Codes HERE!!!

Thats a good one
here is a dedicated site for comedy codes http://www.comedycode.com
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Old 07-05-2007, 10:16 PM   #3 (permalink)
dá ûnrêäl Kiñg
 
zyberboy's Avatar
 
Join Date: Feb 2006
Location: kerala/calicut
Posts: 992
Smile Re: Post all:Funny Programming Source Codes HERE!!!

Here is one which i created some time ago, a Lovecalculator program created in Microsoft Visual C# 2005 Express Edition
the love calc algorithem used is based on a word FLAME. F = friend, L= love like tat.....just for fun.
Enter your name and lover's and calculate.....

Quote:
// LoveCalculator by prashob.ms(cyberboy)..just for fun
//Function to trim unwanted characters starts here

static string trimWord(string word)
{
char[] trimChar={'0','1','2','3','4','5','6','7','8','9', '.','*',','};

word =word.Trim(trimChar);
return word;
}

private void btn1_Click(object sender, EventArgs e)
{
//Main program starts here

string one = txtFirstName.Text;
string two = txtSecondName.Text;
one = trimWord(one);
two = trimWord(two);
string firstName = one;
string secondName = two;

if (one.Length <=2)
{

MessageBox.Show("Enter Your Name Dude!");

return;
}
else if (two.Length<=2)
{
MessageBox.Show("Enter Your Lovers Name Dude!!");
return;
}


int n = 0;
int i = 0;


while (i <= one.Length - 1)
{
//Second while loop within the first starts here
while (n <= two.Length - 1)
{
if (one[i] == two[n])
{
one = one.Remove(i, 1);
two = two.Remove(n, 1);
n = 0;
i = 0;
}
else
{
++n;
}
//Second while loop ends here
}
++i;
n = 0;

}

string comb = one + two;
int count = comb.Length;
while (count > 5)
{
count = count - 5;
}
count = count - 1;
String three = "flame";
char character = three[count];
string letter = Convert.ToString(character);

switch (letter)
{
case "f":
MessageBox.Show(firstName + "," + " " + secondName + " " + "is your friend");
break;
case "l":
MessageBox.Show(firstName + "," + " " + secondName + " " + "is your Lover");
break;

case "a":
MessageBox.Show(firstName + "," + " " + secondName + " " + "is angry with you,what happend?");
break;

case "m":
MessageBox.Show(firstName + "&" + secondName + " " + "are going to get married");
break;
case "e":
MessageBox.Show(firstName + "," + " " + secondName + " " + "is your enemy,bad luck");
break;
}

}
__________________
My Stomach pains:D:D
http://tinyurl.com/32jj4m

Last edited by zyberboy; 10-05-2007 at 11:31 PM.
zyberboy is offline  
Old 07-05-2007, 10:34 PM   #4 (permalink)
HELP AND SUPPORT
 
rakeshishere's Avatar
 
Join Date: Jun 2006
Posts: 1,603
Default Re: Post all:Funny Programming Source Codes HERE!!!

@cyberboy_kerala

Thtz a Real Program

@amitava82
Edit:thnx for the Website
rakeshishere is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
source codes yahfate QnA (read only) 12 22-03-2006 10:09 PM
Free Vb Source Codes Creative-Eye Software Q&A 2 25-12-2005 08:41 AM
Vb Source Codes Creative-Eye QnA (read only) 1 24-12-2005 08:46 AM
source codes bazigaar_no_1 Gamerz 3 20-09-2005 10:16 AM
acquiring source codes vandit Open Source 2 03-08-2005 03:42 PM

 
Latest Threads
- by Sujeet
- by Who
- by bhaskar
- by abhidev
- by icebags

Advertisement




All times are GMT +5.5. The time now is 08:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2