No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
[CODE]TreeSet goodWords = new TreeSet(); ... Iterator iterGoodWords = goodWords.iterator(); while (iterGoodWords.hasnext()) { String word = iterGoodWords.next(); System.out.println(word); }[/CODE] Tell me, why doesn’t that print anything even if there are some items in the goodWords collection? I know there are items in the set because when I check the size, …
I was thinking it wasn't that difficult until I reached the part about AI. That said, the two people who posted before me are definitely right. It's not gonna be too easy. But, I believe, the first thing you'd need to know is which type of AI you want to …
Unknown source, as I understand it would mean that java can't find your file. And, here's your file: [URL="http://richardbowles.tripod.com/java/biotext.txt"]http://richardbowles.tripod.com/java/biotext.txt[/URL].
Imagine your items in a matrix. Like, for a[3][3]: [0,0][0,1][0,2] [1,0][1,1][1,2] [2,0][2,1][2,2] Hope you get it.
I have this selection sort from one of our laboratory assignments: [CODE] /** * Sorts an array into non-decreasing order. This method uses a selection * sort algorithm, in which the largest item is found and placed at the end of * the list, then the second-largest in the next …
Then, why is it that I've read a lot of articles telling me that if I want to become a better developer, I should do it on Linux?
I kinda use this: [CODE]while 1: [body] [/CODE] a lot... But I've also read that it's not a good idea to be doing so even if you put add some way to break from the loop within the body... Any alternatives, please?
[QUOTE=snippsat;1264390]It has been reportet as a bug,and closed with this answer. [url]http://bugs.python.org/issue4224[/url][/QUOTE] It seems to me like it's a matter of order of operations... Why is it a bug, then?
The End.