No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this.*** **» Introduction to Java «** To start off, [Java](http://en.wikipedia.org/wiki/Java_(programming_language)) … |
|
[CODE] private int [] minValues; private int count = 0; String[] tempString ; tempString = line.split("-"); System.out.println(tempString[0]); [/CODE] but when i try to add the store into array's code, [CODE] private int [] minValues; String[] tempString ; tempString = line.split("-"); minValues[count] = tempString[0]; <-- it say incompatible types System.out.println(tempString[0]); count++; … |
|
[CODE] import java.util.ArrayList; import java.util.Scanner; import java.io.*; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.PrintWriter; import java.io.IOException; import java.util.StringTokenizer; /** * Write a description of class Auction here. * * @Bong Suk Ing * @20/10/2011 */ public class Auction { private int displayPrice; private int increase; private int … |
|
i'm so frustrated about my coding :( now i cant even get it right :( assignment gonna due this coming week T^T and i really need help i hope you guys can really solve my problem for me T^T so here is what i did so far >< [code] import … |
|
Re:
hi there! how do i read a specific line from a text file? maybe im asking the wrong question, so i will try to explain what im trying to do :) i have a file that looks a bit like this(just with 1000 lines): 1 dudea addressa 1000 10000000 maila … |