# Search:

Type: Posts; User: Exiled

1. ## Thread: Guessing Game Program Problem.. ArrayIndexOutOfBoundsException while printing?

by Exiled
Replies
3
Views
342

### Re: Guessing Game Program Problem.. ArrayIndexOutOfBoundsException while printing?

Thanks! That was exactly the problem, I thought there was a size() method for Vectors but I couldn't remember, and the only reason I am using vector for this is because the assignment calls you using...
2. ## Thread: Guessing Game Program Problem.. ArrayIndexOutOfBoundsException while printing?

by Exiled
Replies
3
Views
342

### Guessing Game Program Problem.. ArrayIndexOutOfBoundsException while printing?

I am having a strange problem with my Guessing Game program. The program takes an argument integer between 1 and 100 as a secret number, and the program will guess random numbers until it finds your...
3. ## Thread: Euclid Calculator GCD and LCM using BigInteger

by Exiled
Replies
7
Views
971

### Re: Euclid Calculator GCD and LCM using BigInteger

Ahh I guess I could adapt my code to work using subtraction although I'm not sure if that would make it less efficient. I'm pretty sure there's a way to get it to work with modulus but I can't wrap...
4. ## Thread: Euclid Calculator GCD and LCM using BigInteger

by Exiled
Replies
7
Views
971

### Re: Euclid Calculator GCD and LCM using BigInteger

Thanks for the reply, aesguitar. I implemented what you suggested which I'm pretty sure was a copy/paste error but now I am getting a new error saying mod is not positive. If it helps I will just...
5. ## Thread: Euclid Calculator GCD and LCM using BigInteger

by Exiled
Replies
7
Views
971

### Re: Euclid Calculator GCD and LCM using BigInteger

Thanks for the reply! So how exactly might I fix this? Basically, I started out using integers and am converting to BigInteger. My code for using integers is as follows and I need BigInteger to do...
6. ## Thread: Euclid Calculator GCD and LCM using BigInteger

by Exiled
Replies
7
Views
971

### Euclid Calculator GCD and LCM using BigInteger

I'm trying to make a gui calculator that will find Euclid's GCD and LCM from two number inputs. My problem is that no matter what inputs I enter, the GCD is always giving an output of 0, thus making...
7. ## Thread: Search Term Program Problem

by Exiled
Replies
2
Views
376

### Re: Search Term Program Problem

Thanks copeg, that's what I was missing! It runs perfectly now and outputs exactly what it's supposed to. :) Here is the updated code:

package searcher;
import java.util.*;
import...
8. ## Thread: Search Term Program Problem

by Exiled
Replies
2
Views
376

### Search Term Program Problem

I am having a problem with the output of my term searching program. When I run the program, it seems to work okay but the problem is that when i search a term that is in the ArrayList position of 3...
9. ## Thread: Calendar from user input PROBLEM!

by Exiled
Replies
7
Views
1,653

### Re: Calendar from user input PROBLEM!

*Updated Code*
10. ## Thread: Calendar from user input PROBLEM!

by Exiled
Replies
7
Views
1,653

### Re: Calendar from user input PROBLEM!

Yea i noticed that heh, It is for the spacing so that the single digit days spacing changes when you get into double digit days so that everything stays lined up with the weekday columns, in which in...
11. ## Thread: Calendar from user input PROBLEM!

by Exiled
Replies
7
Views
1,653

### Re: Calendar from user input PROBLEM!

**UPDATE** I have figured out the problem to the extent that I am only in need of help to get the user desired start day for the month to be the first day for the month!
Here is my updated code:
...
12. ## Thread: Calendar from user input PROBLEM!

by Exiled
Replies
7
Views
1,653

### Calendar from user input PROBLEM!

Hey guys, I am having trouble figuring out how to get my calendar program to function properly. It's part of a homework assignment and the problem asks for a java program using nested loops to print...
Results 1 to 12 of 12