Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 808 What you'll want in your "getLimbs()" method is for it to look like this I suspect:
Limb[] getLimbs(){
Limb[] limbs = new Limbs[4];
//Add arms and legs to limbs array
return limbs;
} |
Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 808 All this talk of passing limbs around is somewhat creepy :p |
Forum: Java Nov 10th, 2008 |
| Replies: 28 Views: 1,750 You're sort of right. The classes I was mentioning were generated by crawling throught the DB and writing java code off of the table information. It was really sweet. It didn't use reflection though.... |
Forum: C Nov 10th, 2008 |
| Replies: 1 Views: 341 You don't reassign amount when you call AmountValidate from the main method.
amount_c=GetAmount();
amount_c=AmountValidate(amount_c); |
Forum: Assembly Nov 10th, 2008 |
| Replies: 3 Views: 1,151 I'd be willing to bet that printf changes the eax register... Have you looked into that? |
Forum: Java Nov 10th, 2008 |
| Replies: 28 Views: 1,750 I've reflection to make method calls on auto-generated DAO objects that were based on similar tables in my data base. There are good uses for reflection, but most of the time you can get by without... |
Forum: Java Nov 10th, 2008 |
| Replies: 28 Views: 1,750 BestJew: Yeah, I meant an if statement. Reflection is probably overkill for your stated requirements. |
Forum: Java Nov 10th, 2008 |
| Replies: 28 Views: 1,750 If you make your object Serializable then you can store information about the object in String form. It won't be as readable as "germanShepard" but you could store objects serials somewhere to enter.... |
Forum: Java Nov 10th, 2008 |
| Replies: 3 Views: 429 It looks like you don't save the input anywhere other than in displayMenu(). None of the other methods can see that input variable.
You could have displayMenu() return the character that the user... |
Forum: C Nov 4th, 2008 |
| Replies: 4 Views: 536 The problem is that your outer loop is checking for 0 to exit. So when you have an error condition you are exiting the loop. Is there a char you enter to exit the program? That's the value that... |