Discussion about everything. New games, 3d math, development tips...
Midnight
Posts: 1772 Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland
Post
by Midnight » Fri May 29, 2009 2:55 am
Code: Select all
#include <iostream>
using namespace std;
int main()//int argc,char *argv[])
{
string x;
printf("\nDo you believe in God?\n");
cin >> x;
if(x == "y" || x == "Y" || x == "yes" || x == "Yes" || x == "yup" || x == "yeah")
{
printf("This program will now exit to conform to your needs in rejecting logic.\n");
system("pause");
}
else if(x == "n" || x == "N" || x == "no" || x == "No" || x == "nah" || x == "nope")
{
printf("Please enjoy your atheism.\nGoodbye!\n");
system("pause");
}
else
{
printf("Sorry, I didn't understand your answer.\nPlease try again.\n");
}
return(0);
}
twilight17
Posts: 362 Joined: Sun Dec 16, 2007 9:25 pm
Post
by twilight17 » Fri May 29, 2009 3:40 am
Are you just starting out in C++ or something?
Midnight
Posts: 1772 Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland
Post
by Midnight » Fri May 29, 2009 5:35 am
twilight17 wrote: Are you just starting out in C++ or something?
No, are you?
Ion Dune
Posts: 453 Joined: Mon Nov 12, 2007 8:29 pm
Location: California, USA
Contact:
Post
by Ion Dune » Fri May 29, 2009 5:36 am
Sylence
Posts: 725 Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:
Post
by Sylence » Fri May 29, 2009 5:37 am
twilight17 wrote: Are you just starting out in C++ or something?
C++ and printf ?
This is neither C nor C++
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
Midnight
Posts: 1772 Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland
Post
by Midnight » Fri May 29, 2009 6:03 am
Sylence wrote:
C++ and printf ?
This is neither C nor C++
why does it matter?
fix it if it bothers you. it's not really meant to be functional anyway. genius.
I don't really give a f uck what it is. or what you think is right.
And you're wrong also btw.
BlindSide
Admin
Posts: 2821 Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!
Post
by BlindSide » Fri May 29, 2009 9:45 am
ShadowMapping for Irrlicht!:
Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
FuzzYspo0N
Posts: 914 Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:
Post
by FuzzYspo0N » Fri May 29, 2009 9:59 am
ilold
MasterGod
Posts: 2061 Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:
Post
by MasterGod » Fri May 29, 2009 11:36 am
Awesome..
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
twilight17
Posts: 362 Joined: Sun Dec 16, 2007 9:25 pm
Post
by twilight17 » Fri May 29, 2009 12:19 pm
Nothing to take offense to! I was just wondering why is there a code snippet of beginner-level code. Not trying to start an argument.
xDan
Competition winner
Posts: 673 Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:
Post
by xDan » Fri May 29, 2009 12:21 pm
omg it's teh crazy and original genious midnight lol wtf awsome lol
Midnight
Posts: 1772 Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland
Post
by Midnight » Fri May 29, 2009 1:03 pm
Oh thanks so much for drudging up those poems I wrote when I was drunk years ago blindside. I actually entertained myself reading those again I had forgotten. But really how childish of you.
I'm still waiting for you homosexuals to explain your criticism though.
Here's some food for thought while we wait, why is it a guy named Sylence is one of the first to comment?
Is there some ceremonial shoving of a stick in your ass when you learn to program that I have missed?
Sylence
Posts: 725 Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:
Post
by Sylence » Fri May 29, 2009 1:15 pm
Midnight wrote: why is it a guy named Sylence is one of the first to comment?
Why not ?
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
Adler1337
Posts: 471 Joined: Sat Aug 09, 2008 6:10 pm
Location: In your base.
Post
by Adler1337 » Fri May 29, 2009 1:34 pm
Is there some ceremonial shoving of a stick in your ass when you learn to program that I have missed?
No but if you knew how to program, you wouldn't have missed it
multum in parvo
xDan
Competition winner
Posts: 673 Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:
Post
by xDan » Fri May 29, 2009 1:48 pm
How about the blindingly obvious criticism that your "code snippet" is useless spam?