Heeeeeeeelp me :((
-
Please debug it for me and if you can explain what this code will do I can pay you mooooorr than anybody :(( :(( :(( #include #include #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++; } } 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++; 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; } } I was born intelligent...education ruined me. :((
-
Please debug it for me and if you can explain what this code will do I can pay you mooooorr than anybody :(( :(( :(( #include #include #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++; } } 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++; 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; } } I was born intelligent...education ruined me. :((
It does not surprise me that you cannot understand this code as you cannot understand NO PROGRAMMING QUESTION IN THE LOUNGE either. Unless this is some kind of lame joke :suss: -------- "I say no to drugs, but they don't listen." - Marilyn Manson -- modified at 7:37 Friday 3rd February, 2006
-
Please debug it for me and if you can explain what this code will do I can pay you mooooorr than anybody :(( :(( :(( #include #include #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++; } } 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++; 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; } } I was born intelligent...education ruined me. :((
HAHAHAHA I think I understand. I did not read the previous posts. Slow morning.... -------- "I say no to drugs, but they don't listen." - Marilyn Manson
-
HAHAHAHA I think I understand. I did not read the previous posts. Slow morning.... -------- "I say no to drugs, but they don't listen." - Marilyn Manson
And i was just scared by your previous post. :(( I was born intelligent...education ruined me. :((
-
Please debug it for me and if you can explain what this code will do I can pay you mooooorr than anybody :(( :(( :(( #include #include #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++; } } 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++; 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; } } I was born intelligent...education ruined me. :((
Boy, you have bad coding habbits! And for love's sake, for this kind of project you should use C# or something object-oriented: class Girl : Person { public static List GetAll() { .... } public string GetReply(string input) { .... } } class MainClass { public static void Main(string[] args) { foreach(Girl girl in Girl.GetAll()) { switch(girl.GetReply("Hey, wanna go out?")) { ..... } } } } etc. You got it all wrong from the start, sorry to say so... :( Also, you should comment your code! ;););) :-D
-
Boy, you have bad coding habbits! And for love's sake, for this kind of project you should use C# or something object-oriented: class Girl : Person { public static List GetAll() { .... } public string GetReply(string input) { .... } } class MainClass { public static void Main(string[] args) { foreach(Girl girl in Girl.GetAll()) { switch(girl.GetReply("Hey, wanna go out?")) { ..... } } } } etc. You got it all wrong from the start, sorry to say so... :( Also, you should comment your code! ;););) :-D
Thanks for your great input, please continue with such really useful ideas. with the help of great CPins like you I will definitely learn programming... ;P PS: Still I m unable to understand my code and you have given me more work in !@#$^%^%&^%%%$ language... :(( :(( :(( :((
-
It does not surprise me that you cannot understand this code as you cannot understand NO PROGRAMMING QUESTION IN THE LOUNGE either. Unless this is some kind of lame joke :suss: -------- "I say no to drugs, but they don't listen." - Marilyn Manson -- modified at 7:37 Friday 3rd February, 2006
Michel Prévost wrote:
Unless this is some kind of lame joke
Certainly looks like a joke. Kind of funny in a sterotypical often repeated way Michael CP Blog [^] Development Blog [^] -- modified at 9:33 Friday 3rd February, 2006
-
Please debug it for me and if you can explain what this code will do I can pay you mooooorr than anybody :(( :(( :(( #include #include #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++; } } 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++; 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; } } I was born intelligent...education ruined me. :((
What does gaali mean? Hindi slang for girly? But aren't all girls girly? well, most anyway. Regards, Nish
My blog : Nish’s thoughts on MFC, C++/CLI and .NET