No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm nobody. My attitude starts with obliviousness, holds steady at defiance, and ends with discontent. Get used to it. I AM ME!
- Interests
- gaming, music, books
- PC Specs
- Lucid Lynx
[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, … |
|
Re:
i was given a project to develop a software that will perform or aid the function of a community pharmacist and i am using a desktop standalone java application,which will be well garnished with GUI component, and will be a distributed system(RMI),and also to use Artificial intelligence technique to implement … |
|
Re:
I got this code sample from the internet, [url]http://richardbowles.tripod.com/java/menu.htm[/url] was able to change the deprecated code to BufferedReader to read in the file, but don't know what's wrong with the errors I'm getting. This is sample code I'm trying to get to work so I can step through with a … |
|
Re:
how you number the 2d array??i created a 2d array now i want to number the rouws and colums...here is the code i have now [CODE]int[][] Board = new int[15][15]; for (int r = 0; r < Board.length; r++) { for (int c = 0; c < Board.length; c++) { … |
|
Re:
Hi, Currently i have an array list listing some bigram. and i would like to have the array list to be formatted like this [am] - [amazing, amber] and so on [bi] - [big, bigas] and so on how should i go about it?thanks for the suggestions. Thanks much |
|
Re:
Hello, I have this code that sorts strings but it does not sort them at all. I've been working on it for 2 hours already. Any help will be appreciated. Thanks in advance :)[code]public void SelectionSort() { for (int i = 0; i < myList.length - 1; i++) { int … |
|
Re:
Well, right now i'm using linux, but i've heard that windows is really best for programing videogames ( on c++ ) well, wich O.S. do you think is the best? P.D. Sorry for the bad english jeje :$ |
|
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? |
|
Re:
My Python has started to imagine that square root of -1 is 1, so be careful with ** and unary -. [CODE]print (-1**0.5) ## ** binds stronger than unary minus! i=-1 print "Square root of %i is %f" (i,i**0.5) # gives proper error """ Output: -1.0 Traceback (most recent call … |