java do while loop.
Name:
Anonymous
2010-02-26 15:39
while (1 == 1) {
if (aktuell.next.data == p) {
aktuell.next = aktuell.next.next;
return;
}
}
I know at some point the if check while be true and return will stop the loop. But there has to be an other command than While (1 == 1).
Thanks
Name:
Anonymous
2010-02-26 15:44
Drop out. You will never be a programmer.
while (aktuell.next.data == p) {
aktuell.next = aktuel.next.next;
}
return;
Also while (true) and for (;;). The former is idiomatic in Java, the latter in real languages.
Name:
Anonymous
2010-02-26 15:52
sorry for wasting your time, this was how i wrote the loop:
while (1 == 1) {
if (aktuell.next.data == p) {
aktuell.next = aktuell.next.next;
return;
}
aktuell = aktuell.next;
}
Name:
Anonymous
2010-02-26 16:00
while (aktuell.next.data != p )
aktuell.next = aktuel.next.next;
Name:
Anonymous
2010-02-26 16:11
>>4
Thank you. You've saved me the effort of posting.
Name:
Anonymous
2010-02-26 16:15
while(1) {
Anus = getNextAnus();
if(!ANUS)
break;
Haxor h = HaxFactory.getNewHaxor();
h.doHax(Anus)
}
Name:
Anonymous
2010-02-26 16:35
Name:
Anonymous
2010-02-26 16:51
>>5
And then you went and spent it all in once place.
Name:
Anonymous
2010-02-26 23:30
Name:
Anonymous
2010-02-26 23:43
>>8
YOU SURE TOLD THAT FAG LOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLNIGGERCOCKS
Name:
Anonymous
2010-02-27 0:32
I like
>>9 a lot more than I like
>>10
They are both saying the same thing, but
>>10 says it with a bit of image board dripping from its chin.
Name:
Anonymous
2010-02-27 0:39
>>11
[spoiler][b]NIGGERCOCKS[/b
[/spoiler]
Name:
Anonymous
2010-02-27 2:01
>>10,12
* African American
Name:
Anonymous
2010-02-27 6:50
Name:
Anonymous
2010-11-15 5:18