Rave Radio: Offline (0/0)
Adresse électronique: Mot de passe:
Anonymous
Crée un compte
Mot de passe oublié?
Page: 1 2 Next »»Rating: Unrated [0]
Neoform
Good [+1]Toggle ReplyLink» nter a répondu le Tue 13 Dec, 2005 @ 3:18pm
nter
Coolness: 92695
thread
Good [+1]Toggle ReplyLink» neoform a répondu le Tue 13 Dec, 2005 @ 3:24pm
neoform
Coolness: 339865
thread
Good [+1]Toggle ReplyLink» nter a répondu le Tue 13 Dec, 2005 @ 3:26pm
nter
Coolness: 92695
thread
Good [+1]Toggle ReplyLink» FRANKB a répondu le Tue 13 Dec, 2005 @ 4:01pm
frankb
Coolness: 103535
threyeyeyed!
Good [+1]Toggle ReplyLink» No_Comply a répondu le Tue 13 Dec, 2005 @ 8:09pm
no_comply
Coolness: 85135
string?
Good [+1]Toggle ReplyLink» neoform a répondu le Tue 13 Dec, 2005 @ 8:29pm
neoform
Coolness: 339865
while (1)
{
echo "thread";
}
Good [+1]Toggle ReplyLink» Mali a répondu le Tue 13 Dec, 2005 @ 8:53pm
mali
Coolness: 202315
syphilis!
Good [+1]Toggle ReplyLink» blah123 a répondu le Tue 13 Dec, 2005 @ 10:00pm
blah123
Coolness: 47070
Originally posted by DJNEOFORM...

while (1)
{
echo "thread";
}


if (neoform=post)
printf("geek!");
else
printf("still geek! hehehehehe");
Good [+1]Toggle ReplyLink» neoform a répondu le Wed 14 Dec, 2005 @ 12:17am
neoform
Coolness: 339865
since you did a left-wise assignment in your if statement, it will always return true. next time try using "==" instead of "="
Good [+1]Toggle ReplyLink» flo a répondu le Wed 14 Dec, 2005 @ 12:23am
flo
Coolness: 146525
she didn't say which language she was using there :p
Good [+1]Toggle ReplyLink» neoform a répondu le Wed 14 Dec, 2005 @ 12:56am
neoform
Coolness: 339865
the only language that i know of that uses "=" as a test and not an assignment is VB, and vb doesn't have a printf() function..

PHP, CPP and C do however.. and they all use "==" as tests and "=" as assignments.
Good [+1]Toggle ReplyLink» Lone_Star a répondu le Wed 14 Dec, 2005 @ 1:40am
lone_star
Coolness: 153255
like... OMFGROFLMAOBBQCOPTER!
Good [+1]Toggle ReplyLink» moondancer a répondu le Wed 14 Dec, 2005 @ 2:02am
moondancer
Coolness: 92465
yeah well he didn't even make a proper while condition..
Good [+1]Toggle ReplyLink» neoform a répondu le Wed 14 Dec, 2005 @ 2:30am
neoform
Coolness: 339865
by he, who do you mean?
Good [+1]Toggle ReplyLink» moondancer a répondu le Wed 14 Dec, 2005 @ 3:06am
moondancer
Coolness: 92465
you. First of all, that's an infinite loop. Second of all you didn't specify which var is ==1 ;p
Good [+1]Toggle ReplyLink» mdc a répondu le Wed 14 Dec, 2005 @ 3:06am
mdc
Coolness: 149015
YOUR MOM!!!!
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOh
Good [+1]Toggle ReplyLink» neoform a répondu le Wed 14 Dec, 2005 @ 3:41am
neoform
Coolness: 339865
Originally posted by MOONDANCER...

you. First of all, that's an infinite loop. Second of all you didn't specify which var is ==1 ;p


it's a perfectly valid statement by the way.

1 always tests to be true.

and by the way, infinite loops are not syntax errors. they will almost always compile.
Good [+1]Toggle ReplyLink» moondancer a répondu le Wed 14 Dec, 2005 @ 4:05am
moondancer
Coolness: 92465
no, I didn't say it was a syntax error, it's a logic error, besides you initially corrected her for the same thing ;), cause it would always return true. so thyaaaaaaaaaa
Good [+1]Toggle ReplyLink» neoform a répondu le Wed 14 Dec, 2005 @ 8:48am
neoform
Coolness: 339865
there's no logic error in an infinite loop. sometimes you WANT an infinite loop, like in my example........... i specifically wanted it to infinitely display "thread" over and over.. which means there was no error.
Good [+1]Toggle ReplyLink» cactain_steef a répondu le Wed 14 Dec, 2005 @ 10:11am
cactain_steef
Coolness: 154875
dorkitronnn haha.
Neoform
Page: 1 2 Next »»
Poster Une Réponse
Vous devez être connecté pour soumettre une réponse.