Search Results

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: Dio1080 ; Forum: Java and child forums
Forum: Java Jul 26th, 2009
Replies: 4
Views: 1,910
Posted By Dio1080
???? This post is years old, do u need help or you just wondering where I'm from?
Forum: Java Apr 27th, 2009
Replies: 2
Views: 817
Posted By Dio1080
Hello, BTW the program compiles. Im trying to change a quick sort program so that it picks a median of three for the pivot instead of the first low number. My code is not running right, can...
Forum: Java Mar 24th, 2009
Replies: 2
Views: 562
Posted By Dio1080
Forum: Java Mar 24th, 2009
Replies: 2
Views: 562
Posted By Dio1080
Binary Search tree help
Can somebody explain to me what this code is doing step by step?, thanks

TREE-SUCCESSOR(x)
1 if right[x] ≠ NIL
2 then return TREE-MINIMUM (right[x])
3 y ← p[x]
4 while...
Forum: Java Oct 31st, 2008
Replies: 1
Views: 1,900
Posted By Dio1080
Ok, the code is almost done and I need help finishing up my delete function(between lines 51 to 71), I can't seem to figure out how to delete the 50 and the 20. Here is my code. BTW i'll list the...
Forum: Java Aug 29th, 2008
Replies: 3
Views: 688
Posted By Dio1080
Thanks for the advice, btw the program was solved.
Forum: Java Aug 27th, 2008
Replies: 3
Views: 688
Posted By Dio1080
its the delete function, something is not right, line 44...
Forum: Java Aug 27th, 2008
Replies: 3
Views: 688
Posted By Dio1080
The program compiles but is not run right can somebody help plz? There are two parts a class and a main.


public class LinkedList56 {

private class node{
int data;
...
Forum: Java Aug 24th, 2008
Replies: 1
Views: 862
Posted By Dio1080
Im just trying to figure out why I have a array out of bounds that all can somebody help?

public class Life2 {

public static void main(String[] args) throws Exception{
boolean dead;
int winsX...
Forum: Java Apr 8th, 2008
Replies: 4
Views: 485
Posted By Dio1080
ok, i uncommented out what I had commented, now I'm getting this error, truckinfo[i] = new Truck(); Vehicle.java:103: non-static variable this cannot be referenced from a static context, i tried...
Forum: Java Apr 8th, 2008
Replies: 4
Views: 485
Posted By Dio1080
ok, i fixed that, and it compiles but after i enter in a few things, it says, Exception in thread "main" java.lang.NullPointerException at Vehicle.main(Vehicle.java:112) but it worked for the vehicle...
Forum: Java Apr 8th, 2008
Replies: 4
Views: 485
Posted By Dio1080
I can't figure out why it is saying (Vehicle.java:174: cannot find symbol) but there is a symbol, what is going on?

import java.util.Scanner;


public class Vehicle{
protected int hp;...
Forum: Java Mar 18th, 2008
Replies: 1
Views: 691
Posted By Dio1080
ok, i need help adding to a list after the list have been made. Its the only thing stopping me from getting this thing done, help please....


import java.util.Scanner;
import java.io.*;
import...
Forum: Java Mar 12th, 2008
Replies: 3
Views: 739
Posted By Dio1080
#1, Im tryin to get this bb code right, #2 I need help with finding the problem with me code, it is saying that my for loop is a illegal start type and also a identifer is needed, but I have no clue,...
Forum: Java Feb 1st, 2008
Replies: 1
Views: 1,726
Posted By Dio1080
I been trying to import the list in the text file to the word doc, the thing is, is that I can only get the last line on the text imported while I'm missing the rest of the top. Can somebody help...
Forum: Java Dec 4th, 2007
Replies: 6
Views: 1,177
Posted By Dio1080
waoh woah woah, thanks for the help, but I like it simple, I only got to arrays in my book so, everything I did so far has been simple, nothing to advance, thats why I have about 3 to 4 pages of code.
Forum: Java Dec 4th, 2007
Replies: 6
Views: 1,177
Posted By Dio1080
javax.swing.JOptionPane.showMessageDialog(null, "\n-------");

for (int i = 0; i < 3; i++) {
System.out.print("| ");
for (int j = 0; j < 3; j++)
...
Forum: Java Dec 4th, 2007
Replies: 6
Views: 1,177
Posted By Dio1080
My tic tac toe board is done, but I need it to show up in the Dialog box, not the console, how would I do that?
Here is my code:

javax.swing.JOptionPane.showMessageDialog(null, "\n-------");

...
Forum: Java Dec 4th, 2007
Replies: 2
Views: 595
Posted By Dio1080
solved it, things for the help thought
Forum: Java Dec 4th, 2007
Replies: 2
Views: 595
Posted By Dio1080
can anybody see anything worng?

I'm returning these to the main
sO=ScoreO(O);
sX=ScoreX(X);

These are my two methods:

//method to tally the score for x
public static int ScoreX(boolean...
Forum: Java Dec 3rd, 2007
Replies: 4
Views: 1,259
Posted By Dio1080
Basically, this is all I need, well, need help starting off with, is when everytime the x wins, count and everytime the o wins count. Basiclly count up how many times player 1 and player 2 wins. My...
Forum: Java Dec 2nd, 2007
Replies: 4
Views: 1,259
Posted By Dio1080
I need help making a counter uusing a two dimmensional array. I'm doing a tic tac toe program and need about done, just need the counter and have no clue how to do it.
Forum: Java Dec 1st, 2007
Replies: 5
Views: 947
Posted By Dio1080
I need help understanding why my code doesn't work while using number coordinates. I'm using a two dimensional array, I would like to post my code so you guys can check my errors, but I don't want...
Forum: Java Nov 19th, 2007
Replies: 0
Views: 3,972
Posted By Dio1080
I need to this program to let me enter in an letters A B C or D so this program can run, why isn't this program not working, please help.
Here is my code:


public class DriversLicense{
public...
Forum: Java Oct 21st, 2007
Replies: 1
Views: 836
Posted By Dio1080
Hello, I need help making a table based off my tax code I made, the tax code was a little, but I need help with the table part also. The table should look like this:
Income Single Married...
Forum: Java Sep 26th, 2007
Replies: 4
Views: 1,910
Posted By Dio1080
Ok I solved the last program, but I need on this one, I have no clue:

Ok, I need help on a for loop nested program using for loops, I'm trying to use a patten that goes like this:
123456
12345...
Forum: Java Sep 26th, 2007
Replies: 4
Views: 1,910
Posted By Dio1080
Ok, I need help on a for loop nested program using for loops, I'm trying to use a patten that goes like this:
123456
12345
1234
123
12
1

but when I try it, it goes like this:
654321
Forum: Java Sep 10th, 2007
Replies: 11
Views: 2,104
Posted By Dio1080
ohhhhhhhh, ok, now I know, i'll try to remember that for a future reference, but once again, thanks for help. I'm just so mad that I almost rewrote the whole code using numbers to make things less...
Forum: Java Sep 10th, 2007
Replies: 11
Views: 2,104
Posted By Dio1080
yes, it works, but what do you mean by pattern matching, so far, its doing what I told it to do, like if the both say yes, then they like each other blah blah blah, but if I'm missing something, let...
Forum: Java Sep 10th, 2007
Replies: 11
Views: 2,104
Posted By Dio1080
hmmmmmm, somehere, but, when you watch that clip it seems to work, do you have a clue to whats going on?
Forum: Java Sep 9th, 2007
Replies: 11
Views: 2,104
Posted By Dio1080
before I click on the solve button, how were you guys able to get it to work, is it my software jgrasp or my complier, which works, how no clue, plus, I tried to zoom in as much as I could, hard to...
Forum: Java Sep 9th, 2007
Replies: 11
Views: 2,104
Posted By Dio1080
Do you either play or watch football? (Y/N) Y
Do you like going to the movies? (Y/N) Exception in thread "main" java.lang.NullPointerException
at Compatibility.main(Compatibility.java:33)
...
Forum: Java Sep 9th, 2007
Replies: 11
Views: 2,104
Posted By Dio1080
I'm working on a code on compatibility and it seems that after I ask and answer the first question, the program just stops, I have no clue why it doesn't go on to ask the next question, can somebody...
Forum: Java Sep 5th, 2007
Replies: 4
Views: 1,153
Posted By Dio1080
Also, did I do the code right or do I doing something wrong even though it is complete with no errors?
Forum: Java Sep 5th, 2007
Replies: 4
Views: 1,153
Posted By Dio1080
I fixed it up but it is still not working, what is wrong, there are no errors?????

It wont read in the command prompt

public class Interest {
public static void main(String [] args) {
...
Forum: Java Sep 5th, 2007
Replies: 4
Views: 1,153
Posted By Dio1080
ok I have a program that is suppose to use dialogs boxes to obtain input and display output and also use console input an output. But here is the thing, I believe my code is a little right but don't...
Forum: Java Aug 29th, 2007
Replies: 3
Views: 3,114
Posted By Dio1080
Hmm ok, but another question, how would I do a single line for assigning all the letters A throw Z instead of making a command with 26 different lines of codes, in other words, shorting it up?
Forum: Java Aug 29th, 2007
Replies: 3
Views: 3,114
Posted By Dio1080
Ok guys, I need help, I found a couple of examples but don't understand. None of the Java examples uses this method for Converting letters uppercase to lowercase:

int offset = (int) 'a' -(int)...
Showing results 1 to 38 of 38

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC