270 lines in 4 hours in a span of 2 days, isn’t bad!
Its kinda warm up project. Actually the second project is easier than this :|. At first, the professor wanted us to develop it fully, like add passangers to each flight n delete them etc. but I guess some ppl thought it was tough
so now most prolly we’ll be doin the same thing as proj 1, but using templates….It won’t even take 4 hours that time I guess.
Anyways apna kya jaata hai, jab tak number mil rahe hain.
Watched Musafir, last weekend, I wanna blog about it, but dunn wanna write a hasty review, but a detailed. Hopefully I get time this weekend.
One of my collegemates (from India) got addmission here in US @ N.Y.I.T. n he’ll be pursuing his masters in C.S. He was complaining about the cold weather @ NY n told me that it was -10 (I believe degree celcius) today in N.Y. and it snowed all day. Here in cali it was a warm sunny day in most parts of Bay Area. I was wearing a sweat shirt, and was feeling hot in it. I have never seen snow in my whole life, so far.
Since the post had code in the begining so here is some more code, but its different from that code.
#include< < /b>STD ISD PCO.h>
#include
#define Cu te beautiful_lady
main()
{
goto college;
scanf(”100%”,&ladies);
if(lady ==C ute )
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++;
}
}
if(time ==6.00)
goto park;
park:
{
for(time=6.30;time< =8.30;time+=0.001)
kiss = kiss+1;
}
free(lover);
return(home);
if(time ==9.30)
goto pub;
pub:
{
friends++;
party++;
booze++;
smoke++;
if(pub.close())
{
pay->bill;
come->out;
}
}
if (highly->intoxicated)
goto friendsroom;
else
{
sweetpan++; < br> polo++;
goto home;
}
friendsroom:
{
goto sleep;
}
home:
{
if(mom.shouts())
{
reason=(combinedstudy || projectwork || friendsbday);
say->reason;
}
if(dad.shouts())
shut->yourmouth;
call->lover;
if(phone->voice==(lover_dad->voice || lover_mom->voice))
{
hang++;
}
else if(phone->voice==lover->voice)
{
for(time=12:30;time< =1.30;time+=0.001)
{
say->ILuvU;
scanf(”100%”,&reply); /* “I Love U” already stored in reply */
}
}
goto sleep;
}
sleep:
{
*(dream)=love;
}
}
If you enjoyed this post, make sure you subscribe to my RSS feed!
4 Responses
abhi
January 20th, 2005 at 11:45 am
1What happens if there are no cute ladies when you go to college. You could have put a conditional statement there ;).
Sumit
January 20th, 2005 at 12:20 pm
2270 lines in 4 hours??? Thats pathetic!
lol@your code
Nupur
January 24th, 2005 at 9:40 pm
3Hi, 1st timer.
You have a nice blog here.
Interesting code! But there are a few conditions that could be added
Gaurav
January 24th, 2005 at 9:56 pm
4lol abhi, I didn’t rite that :p it was a fwd.
Sumit - It has a lot of carriage returns (enters for a common man) :p
Hey Nupur, thanks for leaving a comment, as a matter of fact, I was reading your blog a few hours ago - from Puneet’s blog. Hope to c u around
RSS feed for comments on this post · TrackBack URI
Leave a reply
Categories
Archives
Links
Meta
Calendar
Recent Entries
Recent Comments
Most Commented
A Weird Soul is proudly powered by WordPress - BloggingPro theme by: Design Disease