FHCtyler21
Number of posts : 39 Age : 37 Location : Pennsylvania Registration date : 2009-01-18
| Subject: Random Code Wed Feb 18, 2009 6:54 pm | |
| Just a quick thought after something in the shoutbox, but it's been about 7 years since i last had c++ and i was never great at it to begin with knowledge to live by: var: man, woman cin>> if woman=happy, cout>> man=happy else if woman=unhappy cout>>man=unhappy | |
|
Scynthus
Number of posts : 78 Age : 35 Location : New Jersey Registration date : 2009-01-05
| Subject: Re: Random Code Wed Feb 18, 2009 7:15 pm | |
| - FHCtyler21 wrote:
- Just a quick thought after something in the shoutbox, but it's been about 7 years since i last had c++ and i was never great at it to begin with
knowledge to live by:
var: man, woman
cin>>
if woman=happy, cout>> man=happy
else if woman=unhappy cout>>man=unhappy int woman; cout << "Honey, my Queen, the woman I would sacrifice my life for, are you happy? << endl; cin >> woman; if (woman == yes) cout >> "man is " >> endl; else if (woman == FUCK YOU! GET OUT OF MY FACE YOU DUMB JERK!) cout >> "man is " >> endl; else lolerrors return marriage; FIXED!!!! (cuz im bored) Sorry I missed all the shoutbox stuff... sry for what ever happened. | |
|
Ocean_NB Admin
Number of posts : 188 Age : 51 Location : Fredericton, New Brunswick, Canada Registration date : 2008-12-09
| Subject: Re: Random Code Wed Feb 18, 2009 8:49 pm | |
| If it's fixed, how come "marriage" would return undefined? | |
|
Scynthus
Number of posts : 78 Age : 35 Location : New Jersey Registration date : 2009-01-05
| Subject: Re: Random Code Wed Feb 18, 2009 9:14 pm | |
| I knew I would be called out on that... OK NOT "FIXED"... just spiced up | |
|