# Search:

Type: Posts; User: Leiferson

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

by Leiferson
Replies
4
Views
651

### 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. ## Thread: I'm creating a sudoku program that is somehow in an infinite loops.

by Leiferson
Replies
4
Views
651

### 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. ## Thread: I'm creating a sudoku program that is somehow in an infinite loops.

by Leiferson
Replies
4
Views
651

### 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
778

### 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
778

### 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. ## Thread: Why is my output not right?

by Leiferson
Replies
6
Views
455

### 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. ## Thread: newMemberGreeting("Hello Forum");

by Leiferson
Replies
1
Views
282

### 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