Rave Radio: Offline (0/0)
Correo electrónico: Contraseña:
Anonymous
Nueva cuenta
¿Olvidaste tu contraseña?
Page: 1 2 Next »»Rating: Unrated [0]
Neoform
Good [+1]Toggle ReplyLink» nter replied on Tue Dec 13, 2005 @ 3:18pm
nter
Coolness: 92710
thread
Good [+1]Toggle ReplyLink» neoform replied on Tue Dec 13, 2005 @ 3:24pm
neoform
Coolness: 339880
thread
Good [+1]Toggle ReplyLink» nter replied on Tue Dec 13, 2005 @ 3:26pm
nter
Coolness: 92710
thread
Good [+1]Toggle ReplyLink» FRANKB replied on Tue Dec 13, 2005 @ 4:01pm
frankb
Coolness: 103550
threyeyeyed!
Good [+1]Toggle ReplyLink» No_Comply replied on Tue Dec 13, 2005 @ 8:09pm
no_comply
Coolness: 85150
string?
Good [+1]Toggle ReplyLink» neoform replied on Tue Dec 13, 2005 @ 8:29pm
neoform
Coolness: 339880
while (1)
{
echo "thread";
}
Good [+1]Toggle ReplyLink» Mali replied on Tue Dec 13, 2005 @ 8:53pm
mali
Coolness: 202330
syphilis!
Good [+1]Toggle ReplyLink» blah123 replied on Tue Dec 13, 2005 @ 10:00pm
blah123
Coolness: 47085
Originally posted by DJNEOFORM...

while (1)
{
echo "thread";
}


if (neoform=post)
printf("geek!");
else
printf("still geek! hehehehehe");
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 12:17am
neoform
Coolness: 339880
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 replied on Wed Dec 14, 2005 @ 12:23am
flo
Coolness: 146540
she didn't say which language she was using there :p
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 12:56am
neoform
Coolness: 339880
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 replied on Wed Dec 14, 2005 @ 1:40am
lone_star
Coolness: 153270
like... OMFGROFLMAOBBQCOPTER!
Good [+1]Toggle ReplyLink» moondancer replied on Wed Dec 14, 2005 @ 2:02am
moondancer
Coolness: 92480
yeah well he didn't even make a proper while condition..
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 2:30am
neoform
Coolness: 339880
by he, who do you mean?
Good [+1]Toggle ReplyLink» moondancer replied on Wed Dec 14, 2005 @ 3:06am
moondancer
Coolness: 92480
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 replied on Wed Dec 14, 2005 @ 3:06am
mdc
Coolness: 149030
YOUR MOM!!!!
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOh
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 3:41am
neoform
Coolness: 339880
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 replied on Wed Dec 14, 2005 @ 4:05am
moondancer
Coolness: 92480
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 replied on Wed Dec 14, 2005 @ 8:48am
neoform
Coolness: 339880
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 replied on Wed Dec 14, 2005 @ 10:11am
cactain_steef
Coolness: 154890
dorkitronnn haha.
Neoform
Page: 1 2 Next »»
Post A Reply
You must be logged in to post a reply.