Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for SyLk

New to VB.NET How do you create a label which is'nt associated with a handle so that it displays the data when the form is loaded with clicking it etc?

Member Avatar for cellus205
0
80
Member Avatar for SyLk

[CODE] import java.util.Scanner; import java.io.*; public class program1 { Scanner filescan = null; public program1(){ try { filescan = new Scanner (new File("t.txt")); } catch (FileNotFoundException fe){ fe.printStackTrace(); } } public static void main(String[] args)throws IOException { printFile(); } public static void printFile()throws IOException { int num; while(filescan.hasNextInt()){ num= filescan.nextInt(); …

Member Avatar for Ezzaral
0
181
Member Avatar for SyLk

how do i declare a scanner object, filescan publicly so that i may use filescan in varios functions i found this statement in a forum----> private static Scanner scanner = new Scanner (1 3 4 4"); when I modified it to-----> public static Scanner filescan = new Scanner(new File("inputdata.txt")); //declared …

Member Avatar for Ezzaral
0
378
Member Avatar for SyLk

Im attemtping to return the next value in this suequence recursively 1, 4, 11, 34, 101 this is what i've done thus far, im not sure how to pass this list to the function to compute the next value which i believe to be 304. can some explain how i …

Member Avatar for VernonDozier
0
104
Member Avatar for SyLk

can someone help me understand what i'm doing wrong here. attempted to run, program builds but no output is generated and the compiler does'nt generate an error message. thank you all. [ICODE]import java.util.Scanner; import java.io.*; import java.util.ArrayList; public class arrayManipulator { public static void main(String[] args) throws IOException { ArrayList<Integer> …

Member Avatar for SyLk
0
121
Member Avatar for SyLk

can someone explain how i could go about applying this recursive method to a string of integers from a text file. so far i have read the string into an int array in my main using a tokenizer and im unsure of how i should manipulate the array now. also …

Member Avatar for Cudmore
0
119
Member Avatar for SyLk

can someone explain to me how i can go about implementing a string from a jtextfield and storing it to a file please. I would really appreciate some sample code on this one. Thank you

Member Avatar for Phaelax
0
135
Member Avatar for SyLk

does java have a ' system ("PAUSE") ' like c++....if so what is the syntax to do it. ty

Member Avatar for freesoft_2000
0
3K
Member Avatar for SyLk

im having problems figuring out how to print this array in reverse.I believe it might be a logical issue. I don't want the answer. I'm thinkin my row must be initialized to the matrix.length. can someone give me a few hints as to go about this. public static void printMatrixReverse(int …

Member Avatar for Narue
0
233
Member Avatar for SyLk

can someone explain to me how i can pass the array "test" and the int "total" back to the main by reference. public static void CalculateAverage() throws IOException { int[] test=new int[7]; int count; int total=0; for (count = 0;count < 5; count++) { test[count] = Integer.parseInt(tokenizer.nextToken()); total = test[count] …

Member Avatar for Narue
0
580
Member Avatar for SyLk

currently my program only reads in the one first name and last name with 5 grades and computes the average from the first line of my input file. eg. Albert Lake 54 23 54 32 12 average test score 35 im trying to edit this code so that the file …

Member Avatar for SyLk
0
484
Member Avatar for SyLk

sup guys im trying to implement a nested for loop for a 2 dimension array that initializes the array to the character '*'. but its just printing out garbage, i think im messing up on my syntax :sad:.....some help would be appreciated here is what i got so for: char …

Member Avatar for SyLk
0
132