Search:

Type: Posts; User: Leiferson

Search: Search took 0.11 seconds.

  1. Re: I'm creating a sudoku program that is somehow in an infinite loops.

    Still though, it seems that if I exhaust the possibilities (throw away each grid and start a new one) eventually I'll get a grid that adheres to the guidelines and have myself a randomly generated...
  2. Re: I'm creating a sudoku program that is somehow in an infinite loops.

    I figured it out. It's fail logic. For instance, while filling a 9 x 9, 2 dimensional array of integers 1 - 9 there's a high probability that this problem occurs:

    123456789
    987645321
    79856423x
    ...
  3. I'm creating a sudoku program that is somehow in an infinite loops.

    I've been trying to figure this out all night. I started on this sudoku program and for some reason it's in an infinite loop. Basically, I'm using Math.random() to generate integers and collecting...
  4. Thread: Funny output

    by Leiferson
    Replies
    2
    Views
    1,449

    Re: Funny output

    Worked like a charm. Now that makes sense. It fooled me how it was doing it intermittently though. Also, calling pack scrunched my
    window up too small to see any of my components. It's not causing...
  5. Thread: Funny output

    by Leiferson
    Replies
    2
    Views
    1,449

    Funny output

    For learning purposes, I made a driver program for a
    Counter class. All it does is increments and decrements
    by integer. I decided to turn the driver into a GUI. But,
    I'm having output problems....
  6. Replies
    6
    Views
    1,411

    Re: Why is my output not right?

    import java.util.Scanner;

    public class Exercise03_11 {

    public static void main(String args[]) {

    int days = 31;
    Scanner input = new Scanner(System.in);

    String[] monthArray =...
  7. Replies
    1
    Views
    839

    newMemberGreeting("Hello Forum");

    I'm currently a computer science major and have been working/playing with computers since the early 90's.
    I've been picking up programming languages fairly fast, but am only in the infancy of my...
Results 1 to 7 of 7