The eXiled
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesRegisterLog in

 

 Random Code

Go down 
3 posters
AuthorMessage
FHCtyler21

FHCtyler21


Number of posts : 39
Age : 37
Location : Pennsylvania
Registration date : 2009-01-18

Random Code Empty
PostSubject: Random Code   Random Code Icon_minitimeWed 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 Cool

knowledge to live by:


var: man, woman

cin>>

if woman=happy,
cout>> man=happy

else
if woman=unhappy
cout>>man=unhappy
Back to top Go down
Scynthus

Scynthus


Number of posts : 78
Age : 35
Location : New Jersey
Registration date : 2009-01-05

Random Code Empty
PostSubject: Re: Random Code   Random Code Icon_minitimeWed 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 Very Happy " >> endl;
else if (woman == FUCK YOU! GET OUT OF MY FACE YOU DUMB JERK!)
cout >> "man is Sad " >> endl;
else
lolerrors

return marriage;



FIXED!!!! (cuz im bored)

Sorry I missed all the shoutbox stuff... sry for what ever happened.
Back to top Go down
Ocean_NB
Admin
Ocean_NB


Number of posts : 188
Age : 51
Location : Fredericton, New Brunswick, Canada
Registration date : 2008-12-09

Random Code Empty
PostSubject: Re: Random Code   Random Code Icon_minitimeWed Feb 18, 2009 8:49 pm

If it's fixed, how come "marriage" would return undefined?
Back to top Go down
https://exiled.forumotion.net
Scynthus

Scynthus


Number of posts : 78
Age : 35
Location : New Jersey
Registration date : 2009-01-05

Random Code Empty
PostSubject: Re: Random Code   Random Code Icon_minitimeWed Feb 18, 2009 9:14 pm

I knew I would be called out on that... OK NOT "FIXED"... just spiced up Cool
Back to top Go down
Sponsored content





Random Code Empty
PostSubject: Re: Random Code   Random Code Icon_minitime

Back to top Go down
 
Random Code
Back to top 
Page 1 of 1
 Similar topics
-
» To Random or Not to Random

Permissions in this forum:You cannot reply to topics in this forum
The eXiled :: General Discussion :: Off Topic-
Jump to: