Search:

Type: Posts; User: DougFane

Search: Search took 0.08 seconds.

  1. Thread: A grid game

    by DougFane
    Replies
    3
    Views
    2,307

    Re: A grid game

    Do you still need help? I would be willing to assist you.
  2. Replies
    1
    Views
    2,069

    Finding college level problems

    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...
  3. Re: How Compare Integers using the if statement and && operator? Can it be done?

    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.
  4. Replies
    9
    Views
    3,590

    Re: English to L33T Translator

    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...
  5. Replies
    4
    Views
    2,136

    Re: Printing 2d array

    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,...
  6. Replies
    9
    Views
    3,590

    Re: English to L33T Translator

    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.
  7. Replies
    3
    Views
    2,020

    Re: will pay 20$ for a web app

    I would love to work on it, but I can't read the language on that site. Could you please provide more specific requirements?
  8. Re: Checking if number is in between two other numbers?

    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.
  9. Replies
    4
    Views
    1,731

    Re: JAVA1 - Final Project

    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.
  10. Replies
    6
    Views
    1,435

    Re: WHY WONT THIS COMPILE!

    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...
  11. Replies
    9
    Views
    1,598

    Re: Easy Java Problem

    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...
  12. Replies
    8
    Views
    1,224

    Re: Please help, newb with a simple question...

    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.
  13. Replies
    8
    Views
    1,224

    Re: Please help, newb with a simple question...

    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...
  14. Replies
    1
    Views
    1,450

    Re: keyboard listener not working

    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...
  15. Replies
    9
    Views
    1,598

    Re: Easy Java Problem

    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...
  16. Replies
    8
    Views
    1,224

    Re: Please help, newb with a simple question...

    Why not just declare and define input before timer. Then you wouldn't have the issue.
  17. Replies
    1
    Views
    1,450

    keyboard listener not working

    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...
  18. Re: Java Task, need help with creating a Java application!(can pay)

    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...
  19. [SOLVED] Re: Very strange results when reading from a test file

    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...
  20. [SOLVED] Re: Very strange results when reading from a test file

    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 =...
  21. [SOLVED] Re: Very strange results when reading from a test file

    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...
  22. Replies
    10
    Views
    4,239

    Re: Help writing to a text file on a website!

    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...
  23. [SOLVED] Re: Very strange results when reading from a test file

    The desired 2dimensional array would be this:




    blocks[1][0] = 1
    blocks[1][1] = -50
    blocks[1][2] = -50

    blocks[2][0] = 1
  24. [SOLVED] Very strange results when reading from a test file

    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,...
Results 1 to 24 of 24