Do you still need help? I would be willing to assist you.
Type: Posts; User: DougFane
Do you still need help? I would be willing to assist you.
I would like to try working on some college/university level problems, but i don't know where to get them. Could any college students post projects that they have been assigned in the past, or give...
I agree with marylandfour. If you put all the numbers in to an array, you could avoid conditionals all together and just use Arrays.sort() method.
No I just saw that there was a l33t string of "|)" that did not make sense for any english string but "D" and all of his outputs were off by one, which could indicate that there is an element missing...
I think you need to think about what you want your loops to do. You want something to change every time you go iterate through the loop, but the way you have it set up right now, nothing does. Also,...
I don't know if this crosses the line in to spoon feeding, but it looks like he just forgot to put "D" in to his english array. He has the whole idea right, he just made a typo.
I would love to work on it, but I can't read the language on that site. Could you please provide more specific requirements?
hint: you said you can't assume that a < c or a > c, and you're correct. But you CAN figure it out, and then work form there.
What IDE/JDK are you using. I compiled the code provided using the most recent version of JDK 6 and JCreator LE and it produced no errors.
Just curious, being a junior in High School myself, what is the name of the course (is it AP, standard, honors, etc.)
Ok, now on to your problem:
1. Copeg makes a good point, there is no...
No, that doesn't fit with the programs specifications and we want to avoid providing fully executable code. Your example only provides the average for 3 numbers (granted, it works for as many 3...
I had a typo as well. It was meant to be InputPanel = new InputPanel(timer);
I wasn't really thinking about the fact that the timer object hadn't really been created yet. My bad.
I guess it depends, if you actually need information from one in order to create the other, then you need to rethink your whole design. However, if you simply need to pass one object to the other's...
Never mind, I got my code to work, here is the updated version:
import com.threed.jpct.*;
import javax.swing.*;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import...
It sounds like you need to learn about arrays. Using an ArrayList, you can add items to an object array (you have to wrap the grades in an integer object wrapper) and then average them all at the...
Why not just declare and define input before timer. Then you wouldn't have the issue.
I am using jPCT as a 3d engine and I cannot get any form of keyboard listeners to work. I have tried multiple different methods, and have gotten a variety of errors. If anybody can tell me how to...
I would love to help you, but to be honest, I have no idea what it is you are asking for. Could you please restate your requirements? Or, since you said it is a university project, could you simply...
I wasn't aware of a better way to check for integers only within brackets, and I already had some code left over from a previous project where I checked for text tags within brackets, so I applied it...
Ok, I know what's causing that now, the original problem was coming because of an error in the code that was corrected later.
Also, I found the root of all my other problems.
rnum =...
Again, I don't know why, but it is leaving the first row blank, so I am manually assigning the first spot to hold the total number of blocks.
Also, is it possible to create a String from an array...
Before you get too far, you are going to need to change your web host. No matter what FTP client you use, you would still need to have an FTP account on the server, which is a paid-only feature on...
The desired 2dimensional array would be this:
blocks[1][0] = 1
blocks[1][1] = -50
blocks[1][2] = -50
blocks[2][0] = 1
I am trying to write a program that will read a text file, write its relavent contents into an array, then produce an output based on the data. I structured the data files like this: (note,...